From: Matt Joiner Date: Wed, 1 Mar 2023 01:34:35 +0000 (+1100) Subject: gorond X-Git-Tag: v1.49.0~2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=31bbd435f9394bd9aadab12462679f5d139bbc66;p=btrtrc.git gorond --- diff --git a/client.go b/client.go index 167cf0cb..c66a65a0 100644 --- a/client.go +++ b/client.go @@ -31,7 +31,6 @@ import ( "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 @@ import ( 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 30be15c6..541ef3f4 100644 --- a/tracker/http/server/server.go +++ b/tracker/http/server/server.go @@ -11,11 +11,11 @@ import ( "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 823816d5..bedc0271 100644 --- a/tracker/server/server.go +++ b/tracker/server/server.go @@ -10,12 +10,12 @@ import ( "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 5666e805..35688394 100644 --- a/tracker/udp/server/server.go +++ b/tracker/udp/server/server.go @@ -13,12 +13,12 @@ import ( "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" )