torrent/torrent_stats.go

15 lines
360 B
Go

package torrent
type TorrentStats struct {
// Aggregates stats over all connections past and present. Some values may
// not have much meaning in the aggregate context.
ConnStats
// Ordered by expected descending quantities (if all is well).
TotalPeers int
PendingPeers int
ActivePeers int
ConnectedSeeders int
HalfOpenPeers int
}