Create a dockerfile for aria2

This commit is contained in:
2023-09-19 17:09:42 +02:00
parent 3f1b4a9a5b
commit e840279102
8 changed files with 112 additions and 12 deletions
+2
View File
@@ -5,6 +5,7 @@ import "time"
type State string
const (
Unknown State = "unknown"
Stale State = "stale"
Downloading State = "downloading"
Seeding State = "seeding"
@@ -41,6 +42,7 @@ type Item struct {
State State `json:"state"`
Size uint64 `json:"size"`
AvailableSize uint64 `json:"availableSize"`
Percent uint `json:"percent"`
UploadedSize uint64 `json:"uploadedSize"`
// Hexadecimal representation of the download progress.
// The highest bit corresponds to the piece at index 0. Any set bits indicate loaded pieces,