2016-07-05 15:52:33 +10:00
|
|
|
package torrent
|
|
|
|
|
|
|
|
type TorrentStats struct {
|
2018-02-02 19:04:56 +11:00
|
|
|
// Aggregates stats over all connections past and present. Some values may
|
|
|
|
// not have much meaning in the aggregate context.
|
|
|
|
ConnStats
|
2017-04-20 16:19:58 -04:00
|
|
|
|
2018-01-29 18:18:08 +11:00
|
|
|
// Ordered by expected descending quantities (if all is well).
|
|
|
|
TotalPeers int
|
|
|
|
PendingPeers int
|
|
|
|
ActivePeers int
|
|
|
|
ConnectedSeeders int
|
|
|
|
HalfOpenPeers int
|
2016-07-05 15:52:33 +10:00
|
|
|
}
|