feat: support reload qbit tasks

This commit is contained in:
Simon Ding
2024-10-04 10:45:31 +08:00
parent 579b010d13
commit 7dfa4eafc4
4 changed files with 50 additions and 25 deletions

View File

@@ -10,6 +10,7 @@ type Torrent interface {
Exists() bool
SeedRatio() (float64, error)
GetHash() string
Reload() error
}
type Downloader interface {
@@ -17,5 +18,3 @@ type Downloader interface {
Download(link, dir string) (Torrent, error)
}
type Storage interface {
}