feat: new ui (#1455)

This commit is contained in:
Levi authored and GitHub committed 2026-09-05 19:53:41 +08:00
1 parent 3be8db664c
commit 177c225f16
742 files changed
+59951 -5934

No files matched your search

+5
View File
@@ -30,6 +30,11 @@ type Stats struct {
type StatsConnection struct {
Downloaded int64 `json:"downloaded"`
// Total is the resource size divided by the current number of connections,
// rounded up to a whole byte. Every connection in one snapshot uses the same
// denominator so clients can compare their downloaded contributions. It is
// zero when the resource size is unknown.
Total int64 `json:"total"`
Completed bool `json:"completed"`
Failed bool `json:"failed"`
RetryTimes int `json:"retryTimes"`