mirror of
https://github.com/simon-ding/polaris.git
synced 2026-06-01 07:27:40 +08:00
feat: complete qbittorrent support
This commit is contained in:
@@ -9,9 +9,13 @@ type Torrent interface {
|
||||
Save() string
|
||||
Exists() bool
|
||||
SeedRatio() (float64, error)
|
||||
GetHash() string
|
||||
}
|
||||
|
||||
type Downloader interface {
|
||||
GetAll() ([]Torrent, error)
|
||||
Download(link, dir string) (Torrent, error)
|
||||
}
|
||||
|
||||
type Storage interface {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user