Prepare materials for auto heal functionality

This commit is contained in:
Ben Sarmiento
2023-10-23 16:13:04 +02:00
parent 693f8dde8a
commit 6298830ea6
5 changed files with 312 additions and 123 deletions

View File

@@ -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"`
}