implement download feature

This commit is contained in:
Simon Ding
2024-07-10 17:35:16 +08:00
parent d7d5c72518
commit e500aaed1e
43 changed files with 4903 additions and 227 deletions

15
pkg/doc.go Normal file
View 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 {
}