1 Star 0 Fork 1

lsj/go-torrent

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
torrent_stats.go 508 Bytes
一键复制 编辑 原始数据 按行查看 历史
Matt Joiner 提交于 2021-10-07 13:50 . Add TorrentStats.PiecesComplete
package torrent
// Due to ConnStats, may require special alignment on some platforms. See
// https://github.com/anacrolix/torrent/issues/383.
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
PiecesComplete int
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/leesj/go-torrent.git
git@gitee.com:leesj/go-torrent.git
leesj
go-torrent
go-torrent
master

搜索帮助