]> Sergey Matveev's repositories - btrtrc.git/commitdiff
gorond
authorMatt Joiner <anacrolix@gmail.com>
Wed, 1 Mar 2023 01:34:35 +0000 (12:34 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Wed, 1 Mar 2023 01:34:35 +0000 (12:34 +1100)
client.go
tracker/http/server/server.go
tracker/server/server.go
tracker/udp/server/server.go

index 167cf0cbfce963535b32a98b6d0d5160f345a560..c66a65a095845b3244ad00cf68eda833e85e3a90 100644 (file)
--- 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"
 )
 
index 30be15c65c8c4719bbdcf1b173919294b09d286b..541ef3f4217fa72d104ba2e0bf7aafd94046d86e 100644 (file)
@@ -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 {
index 823816d58f6db300f0971113605ccd46f5d0f3e5..bedc0271d2a395b9865d0c10f2dcdbe297543a62 100644 (file)
@@ -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"
 )
 
index 5666e8052be0e0d8b37962dafd094205211fdd20..35688394cfb10996d0bbd4ea216c30ee158ea676 100644 (file)
@@ -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"
 )