tstor/src/torrent/loader/loader.go
2023-10-08 19:46:03 +03: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
}