13 lines
249 B
Go
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
|
|
}
|