mirror of
https://github.com/simon-ding/polaris.git
synced 2026-06-09 03:27:39 +08:00
implement download feature
This commit is contained in:
15
pkg/doc.go
Normal file
15
pkg/doc.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package pkg
|
||||
|
||||
type Torrent interface {
|
||||
Name() string
|
||||
Progress() int
|
||||
Stop() error
|
||||
Start() error
|
||||
Remove() error
|
||||
Save() string
|
||||
}
|
||||
|
||||
|
||||
type Storage interface {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user