tstor/torrent/loader/loader.go
2021-11-16 13:13:58 +01:00

13 lines
249 B
Go

package loader
type Loader interface {
ListMagnets() (map[string][]string, error)
ListTorrentPaths() (map[string][]string, error)
}
type LoaderAdder interface {
Loader
RemoveFromHash(r, h string) (bool, error)
AddMagnet(r, m string) error
}