Documentation ¶
Index ¶
- func AddIndexer(indexer Indexer)
- func FilterEpisodeTorrents(episode Episode, torrentList []Torrent) []Torrent
- func FilterMovieTorrents(movie Movie, torrentList []Torrent) []Torrent
- func FilterTorrentEpisodeNumber(list []Torrent, episode Episode) []Torrent
- func FilterTorrentQuality(list []Torrent) []Torrent
- func FilterTorrentReleaseType(list []Torrent) []Torrent
- func FilterTorrentYear(list []Torrent, year int) []Torrent
- func GetTorrents(d downloadable.Downloadable) ([]Torrent, error)
- func Reset()
- func Status() ([]Module, error)
- type Indexer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddIndexer ¶
func AddIndexer(indexer Indexer)
func FilterEpisodeTorrents ¶
func FilterEpisodeTorrents(episode Episode, torrentList []Torrent) []Torrent
func FilterMovieTorrents ¶
func FilterMovieTorrents(movie Movie, torrentList []Torrent) []Torrent
func FilterTorrentEpisodeNumber ¶
func FilterTorrentEpisodeNumber(list []Torrent, episode Episode) []Torrent
func FilterTorrentQuality ¶
func FilterTorrentQuality(list []Torrent) []Torrent
func FilterTorrentReleaseType ¶
func FilterTorrentReleaseType(list []Torrent) []Torrent
func FilterTorrentYear ¶
func FilterTorrentYear(list []Torrent, year int) []Torrent
func GetTorrents ¶
func GetTorrents(d downloadable.Downloadable) ([]Torrent, error)
Types ¶
type Indexer ¶
type Indexer interface { GetName() string Status() (Module, error) CheckCapabilities(d downloadable.Downloadable) bool GetTorrents(d downloadable.Downloadable) ([]Torrent, error) }
func GetIndexer ¶
GetIndexer returns the registered indexer with name "name". An non-nil error is returned if no registered indexer are found with the required name
Click to show internal directories.
Click to hide internal directories.