client.go | 2 +- tracker/http/server/server.go | 2 +- tracker/server/server.go | 2 +- tracker/udp/server/server.go | 2 +- diff --git a/client.go b/client.go index 167cf0cbfce963535b32a98b6d0d5160f345a560..c66a65a095845b3244ad00cf68eda833e85e3a90 100644 --- a/client.go +++ b/client.go @@ -31,7 +31,6 @@ "github.com/anacrolix/missinggo/v2" "github.com/anacrolix/missinggo/v2/bitmap" "github.com/anacrolix/missinggo/v2/pproffd" "github.com/anacrolix/sync" - "github.com/anacrolix/torrent/types/infohash" "github.com/davecgh/go-spew/spew" "github.com/dustin/go-humanize" gbtree "github.com/google/btree" @@ -47,6 +46,7 @@ pp "github.com/anacrolix/torrent/peer_protocol" request_strategy "github.com/anacrolix/torrent/request-strategy" "github.com/anacrolix/torrent/storage" "github.com/anacrolix/torrent/tracker" + "github.com/anacrolix/torrent/types/infohash" "github.com/anacrolix/torrent/webtorrent" ) diff --git a/tracker/http/server/server.go b/tracker/http/server/server.go index 30be15c65c8c4719bbdcf1b173919294b09d286b..541ef3f4217fa72d104ba2e0bf7aafd94046d86e 100644 --- a/tracker/http/server/server.go +++ b/tracker/http/server/server.go @@ -11,11 +11,11 @@ "github.com/anacrolix/dht/v2/krpc" "github.com/anacrolix/generics" "github.com/anacrolix/log" - trackerServer "github.com/anacrolix/torrent/tracker/server" "github.com/anacrolix/torrent/bencode" "github.com/anacrolix/torrent/tracker" httpTracker "github.com/anacrolix/torrent/tracker/http" + trackerServer "github.com/anacrolix/torrent/tracker/server" ) type Handler struct { diff --git a/tracker/server/server.go b/tracker/server/server.go index 823816d58f6db300f0971113605ccd46f5d0f3e5..bedc0271d2a395b9865d0c10f2dcdbe297543a62 100644 --- a/tracker/server/server.go +++ b/tracker/server/server.go @@ -10,12 +10,12 @@ "time" "github.com/anacrolix/generics" "github.com/anacrolix/log" - "github.com/anacrolix/torrent/tracker" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/codes" "go.opentelemetry.io/otel/trace" + "github.com/anacrolix/torrent/tracker" "github.com/anacrolix/torrent/tracker/udp" ) diff --git a/tracker/udp/server/server.go b/tracker/udp/server/server.go index 5666e8052be0e0d8b37962dafd094205211fdd20..35688394cfb10996d0bbd4ea216c30ee158ea676 100644 --- a/tracker/udp/server/server.go +++ b/tracker/udp/server/server.go @@ -13,12 +13,12 @@ "github.com/anacrolix/dht/v2/krpc" "github.com/anacrolix/generics" "github.com/anacrolix/log" - trackerServer "github.com/anacrolix/torrent/tracker/server" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/codes" "go.opentelemetry.io/otel/trace" + trackerServer "github.com/anacrolix/torrent/tracker/server" "github.com/anacrolix/torrent/tracker/udp" )