status-go/vendor/github.com/anacrolix/torrent/tracker/udp/scrape.go

12 lines
176 B
Go

package udp
type ScrapeRequest []InfoHash
type ScrapeResponse []ScrapeInfohashResult
type ScrapeInfohashResult struct {
Seeders int32
Completed int32
Leechers int32
}