mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-04 07:45:30 +00:00
20 lines
537 B
Go
20 lines
537 B
Go
package bt
|
|
|
|
type ReqExtra struct {
|
|
Trackers []string `json:"trackers"`
|
|
}
|
|
|
|
// Stats for torrent
|
|
type Stats struct {
|
|
// health indicators of torrents, from large to small, ConnectedSeeders are also the key to the health of seed resources
|
|
TotalPeers int `json:"totalPeers"`
|
|
ActivePeers int `json:"activePeers"`
|
|
ConnectedSeeders int `json:"connectedSeeders"`
|
|
// Total seed bytes
|
|
SeedBytes int64 `json:"seedBytes"`
|
|
// Seed ratio
|
|
SeedRatio float64 `json:"seedRatio"`
|
|
// Total seed time
|
|
SeedTime int64 `json:"seedTime"`
|
|
}
|