Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AniSource ¶ added in v0.7.1
type AniSource interface {
Parse(opt *models.AnimeParseOptions) *models.AnimeEntity
}
type CacheGetter ¶
type CacheOpener ¶
type CacheOpener interface {
Open(file string)
Close()
}
type CacheSetter ¶
type Cacher ¶
type Cacher interface {
CacheOpener
CacheSetter
CacheGetter
}
type Downloader ¶ added in v0.7.1
type Downloader interface {
Connected() bool
Start(ctx context.Context)
List(opt *models.ClientListOptions) []*models.TorrentItem
Add(opt *models.ClientAddOptions)
Delete(opt *models.ClientDeleteOptions)
GetContent(opt *models.ClientGetOptions) []*models.TorrentContentItem
}
type DownloaderManagerCacheDeleter ¶
type DownloaderManagerCacheDeleter interface {
DeleteCache(fullname string)
}
type FilterManager ¶
type Plugin ¶ added in v0.7.1
type Plugin interface {
Type() string
PluginLoader
PluginRunner
PluginVariable
}
type PluginLoader ¶ added in v0.7.1
type PluginLoader interface {
Load(opts *models.PluginLoadOptions)
}
type PluginRunner ¶ added in v0.7.1
type PluginVariable ¶ added in v0.7.1
Click to show internal directories.
Click to hide internal directories.