"github.com/anacrolix/missinggo/v2"
"github.com/anacrolix/missinggo/v2/bitmap"
- "github.com/anacrolix/torrent/internal/testutil"
"github.com/frankban/quicktest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"golang.org/x/time/rate"
+
+ "github.com/anacrolix/torrent/internal/testutil"
)
func TestPeerConnEstablished(t *testing.T) {
"testing"
"time"
- "github.com/anacrolix/torrent/internal/testutil"
- "github.com/anacrolix/torrent/tracker"
"github.com/gorilla/websocket"
"github.com/stretchr/testify/require"
+
+ "github.com/anacrolix/torrent/internal/testutil"
+ "github.com/anacrolix/torrent/tracker"
)
func TestClientInvalidTracker(t *testing.T) {
"strconv"
"time"
- "github.com/anacrolix/torrent/webtorrent"
-
"github.com/anacrolix/chansync"
"github.com/anacrolix/chansync/events"
"github.com/anacrolix/dht/v2"
"github.com/anacrolix/torrent/tracker"
"github.com/anacrolix/torrent/types/infohash"
infohash_v2 "github.com/anacrolix/torrent/types/infohash-v2"
+ "github.com/anacrolix/torrent/webtorrent"
)
// Clients contain zero or more Torrents. A Client manages a blocklist, the
package torrent
import (
- "github.com/stretchr/testify/require"
"testing"
"time"
"github.com/anacrolix/log"
+ "github.com/stretchr/testify/require"
pp "github.com/anacrolix/torrent/peer_protocol"
)
"net/url"
"sync"
- "github.com/anacrolix/torrent/webtorrent"
-
"github.com/anacrolix/log"
"github.com/gorilla/websocket"
"github.com/pion/webrtc/v4"
"github.com/anacrolix/torrent/tracker"
httpTracker "github.com/anacrolix/torrent/tracker/http"
+ "github.com/anacrolix/torrent/webtorrent"
)
type websocketTrackerStatus struct {