2016-07-05 13:52:33 +08:00
|
|
|
package torrent
|
|
|
|
|
|
|
|
type TorrentStats struct {
|
|
|
|
ConnStats // Aggregates stats over all connections past and present.
|
2017-04-21 04:19:58 +08:00
|
|
|
|
2018-01-29 15:18:08 +08:00
|
|
|
// Ordered by expected descending quantities (if all is well).
|
|
|
|
TotalPeers int
|
|
|
|
PendingPeers int
|
|
|
|
ActivePeers int
|
|
|
|
ConnectedSeeders int
|
|
|
|
HalfOpenPeers int
|
2016-07-05 13:52:33 +08:00
|
|
|
}
|