"context"
"encoding/json"
"fmt"
- app "github.com/anacrolix/gostdapp"
"io"
stdLog "log"
"net/http"
"github.com/anacrolix/bargle"
"github.com/anacrolix/envpprof"
+ app "github.com/anacrolix/gostdapp"
"github.com/anacrolix/log"
xprometheus "github.com/anacrolix/missinggo/v2/prometheus"
"github.com/davecgh/go-spew/spew"
import (
"context"
- g "github.com/anacrolix/generics"
"io"
+
+ g "github.com/anacrolix/generics"
)
type contextedReader struct {
package metainfo
import (
- g "github.com/anacrolix/generics"
"testing"
+ g "github.com/anacrolix/generics"
"github.com/stretchr/testify/assert"
"github.com/anacrolix/torrent/bencode"
package torrent
import (
+ "iter"
+
g "github.com/anacrolix/generics"
list "github.com/bahlo/generic-list-go"
- "iter"
"github.com/anacrolix/torrent/typed-roaring"
)
"context"
"encoding/hex"
"fmt"
- "github.com/anacrolix/missinggo/v2/panicif"
- "github.com/anacrolix/torrent/internal/ctxrw"
"io"
"math/bits"
"strings"
"unsafe"
+ "github.com/anacrolix/missinggo/v2/panicif"
+
+ "github.com/anacrolix/torrent/internal/ctxrw"
"github.com/anacrolix/torrent/metainfo"
)
package requestStrategy
import (
- typedRoaring "github.com/anacrolix/torrent/typed-roaring"
"iter"
+
+ typedRoaring "github.com/anacrolix/torrent/typed-roaring"
)
type PeerRequestState struct {
"context"
"encoding/binary"
"fmt"
- "github.com/protolambda/ctxlock"
"io"
"net"
"time"
"github.com/anacrolix/dht/v2/krpc"
+ "github.com/protolambda/ctxlock"
)
// Client interacts with UDP trackers via its Writer and Dispatcher. It has no knowledge of