mirror of
https://github.com/rumanzo/bt2qbt.git
synced 2024-11-25 11:52:56 +01:00
b66b5f8e75
Expect for different types in resumeItem trackers. New recursion function for dig interface for strings in helpers https://github.com/rumanzo/bt2qbt/issues/36
22 lines
1.0 KiB
Go
22 lines
1.0 KiB
Go
package utorrentStructs
|
|
|
|
type ResumeItem struct {
|
|
AddedOn int64 `bencode:"added_on"`
|
|
Caption string `bencode:"caption,omitempty"`
|
|
CompletedOn int64 `bencode:"completed_on"`
|
|
Downloaded int64 `bencode:"downloaded"`
|
|
Info string `bencode:"info"`
|
|
Label string `bencode:"label,omitempty"`
|
|
Labels []string `bencode:"labels,omitempty"`
|
|
LastSeenComplete int64 `bencode:"last_seen_complete"`
|
|
Path string `bencode:"path"`
|
|
Prio []byte `bencode:"prio"`
|
|
Runtime int64 `bencode:"runtime"`
|
|
Started int64 `bencode:"started"`
|
|
Targets [][]interface{} `bencode:"targets,omitempty"`
|
|
Time int64 `bencode:"time"`
|
|
Trackers interface{} `bencode:"trackers,omitempty"`
|
|
UpSpeed int64 `bencode:"upspeed"`
|
|
Uploaded int64 `bencode:"uploaded"`
|
|
}
|