]> Sergey Matveev's repositories - btrtrc.git/blob - tracker/udp/scrape.go
Add udp tracker scrape support
[btrtrc.git] / tracker / udp / scrape.go
1 package udp
2
3 type ScrapeRequest []InfoHash
4
5 type ScrapeResponse []ScrapeInfohashResult
6
7 type ScrapeInfohashResult struct {
8         Seeders   int32
9         Completed int32
10         Leechers  int32
11 }