]> Sergey Matveev's repositories - btrtrc.git/blobdiff - tracker/client.go
Drop support for go 1.20
[btrtrc.git] / tracker / client.go
index 2558da70488d25f2d6112a9af7427465a2e12c1e..3b7e2aba36b54b6f09c75a43791bf671811a3f3a 100644 (file)
@@ -6,12 +6,15 @@ import (
        "net/url"
 
        "github.com/anacrolix/log"
+
        trHttp "github.com/anacrolix/torrent/tracker/http"
        "github.com/anacrolix/torrent/tracker/udp"
+       "github.com/anacrolix/torrent/types/infohash"
 )
 
 type Client interface {
        Announce(context.Context, AnnounceRequest, AnnounceOpt) (AnnounceResponse, error)
+       Scrape(ctx context.Context, ihs []infohash.T) (out udp.ScrapeResponse, err error)
        Close() error
 }