Documentation ¶
Index ¶
- Constants
- func IdentifyType(categories []int) string
- type JackettSource
- type NewznabSource
- type Reader
- func (r *Reader) Add(name, URL, key string, userID int, insecure bool) error
- func (r *Reader) AddJackett(URL, key string) error
- func (r *Reader) AddTorznab(name, URL, key string, userID int, insecure bool) error
- func (r *Reader) Read(source string, categories []int) ([]*newznab.NZB, error)
- func (r *Reader) Search(source string, categories []int, query string) ([]*newznab.NZB, error)
- func (r *Reader) Source(name string) (Source, bool)
- func (r *Reader) Sources() []string
- type Source
- type TorznabSource
Constants ¶
View Source
const ( SourceUnknown = "unknown" SourceNewznab = "newznab" SourceTorznab = "torznab" SourceJackett = "jackett" SourceRift = "rift" )
Variables ¶
This section is empty.
Functions ¶
func IdentifyType ¶
Types ¶
type JackettSource ¶
type JackettSource struct { Name string URL string Key string UserID int Insecure bool Type string Caps *jackett.Capabilities // contains filtered or unexported fields }
func (*JackettSource) Categories ¶
func (s *JackettSource) Categories() []jackett.Category
type NewznabSource ¶
type NewznabSource struct { Name string URL string Key string UserID int Insecure bool Type string Caps *jackett.Capabilities // contains filtered or unexported fields }
func (*NewznabSource) Categories ¶
func (s *NewznabSource) Categories() []jackett.Category
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func (*Reader) AddJackett ¶
func (*Reader) AddTorznab ¶
type TorznabSource ¶
type TorznabSource struct { Name string URL string Key string UserID int Insecure bool Type string Caps *jackett.Capabilities // contains filtered or unexported fields }
func (*TorznabSource) Categories ¶
func (s *TorznabSource) Categories() []jackett.Category
Click to show internal directories.
Click to hide internal directories.