Prepare materials for auto heal functionality
This commit is contained in:
@@ -29,3 +29,13 @@ type File struct {
|
||||
Bytes int64 `json:"bytes"`
|
||||
Selected int `json:"selected"`
|
||||
}
|
||||
|
||||
type MagnetResponse struct {
|
||||
ID string `json:"id"`
|
||||
URI string `json:"uri"`
|
||||
}
|
||||
|
||||
type ActiveTorrentCountResponse struct {
|
||||
DownloadingCount int `json:"nb"`
|
||||
MaxNumberOfTorrents int `json:"limit"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user