]> Sergey Matveev's repositories - btrtrc.git/blob - torrent-stats.go
Drop support for go 1.20
[btrtrc.git] / torrent-stats.go
1 package torrent
2
3 // Due to ConnStats, may require special alignment on some platforms. See
4 // https://github.com/anacrolix/torrent/issues/383.
5 type TorrentStats struct {
6         // Aggregates stats over all connections past and present. Some values may not have much meaning
7         // in the aggregate context.
8         ConnStats
9
10         // Ordered by expected descending quantities (if all is well).
11         TotalPeers       int
12         PendingPeers     int
13         ActivePeers      int
14         ConnectedSeeders int
15         HalfOpenPeers    int
16         PiecesComplete   int
17 }