_ "github.com/anacrolix/envpprof"
"github.com/anacrolix/tagflag"
+
"github.com/anacrolix/torrent"
"github.com/anacrolix/torrent/bencode"
)
"os"
"github.com/anacrolix/tagflag"
- "github.com/anacrolix/torrent/metainfo"
"github.com/bradfitz/iter"
+
+ "github.com/anacrolix/torrent/metainfo"
)
var flags struct {
package torrent
import (
+ "crypto/tls"
+ "net"
+ "net/http"
+ "time"
+
"github.com/anacrolix/dht"
"golang.org/x/time/rate"
"github.com/anacrolix/torrent/iplist"
"github.com/anacrolix/torrent/storage"
-
- "crypto/tls"
- "net"
- "net/http"
- "time"
)
var DefaultHTTPClient = &http.Client{
"sync"
"time"
- "github.com/anacrolix/torrent/mse"
-
"github.com/anacrolix/missinggo"
"github.com/anacrolix/missinggo/bitmap"
"github.com/anacrolix/missinggo/iter"
"github.com/anacrolix/missinggo/prioritybitmap"
"github.com/anacrolix/torrent/bencode"
+ "github.com/anacrolix/torrent/mse"
pp "github.com/anacrolix/torrent/peer_protocol"
)
"context"
"io"
- "github.com/anacrolix/missinggo"
- "github.com/anacrolix/torrent"
-
"bazil.org/fuse"
"bazil.org/fuse/fs"
+ "github.com/anacrolix/missinggo"
+
+ "github.com/anacrolix/torrent"
)
type fileHandle struct {
"net"
"time"
- pp "github.com/anacrolix/torrent/peer_protocol"
-
"github.com/anacrolix/missinggo"
+
"github.com/anacrolix/torrent/metainfo"
"github.com/anacrolix/torrent/mse"
+ pp "github.com/anacrolix/torrent/peer_protocol"
)
type ExtensionBit uint
"testing"
_ "github.com/anacrolix/envpprof"
-
"github.com/bradfitz/iter"
"github.com/stretchr/testify/require"
)
"encoding/binary"
"github.com/anacrolix/missinggo/x"
- "github.com/anacrolix/torrent/metainfo"
"github.com/boltdb/bolt"
+
+ "github.com/anacrolix/torrent/metainfo"
)
type boltDBPiece struct {