Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownIndexer = errors.New("Unknown indexer")
Functions ¶
func ListDefinitions ¶
Types ¶
type IndexerDefinition ¶
type IndexerDefinition struct { Site string `yaml:"site"` Options optionsBlock `yaml:"options"` Name string `yaml:"name"` Description string `yaml:"description"` Language string `yaml:"language"` Links stringorslice `yaml:"links"` Capabilities capabilitiesBlock `yaml:"caps"` Login loginBlock `yaml:"login"` Search searchBlock `yaml:"search"` }
func LoadDefinition ¶
func LoadDefinition(key string) (*IndexerDefinition, error)
func ParseDefinition ¶
func ParseDefinition(src []byte) (*IndexerDefinition, error)
func ParseDefinitionFile ¶
func ParseDefinitionFile(f *os.File) (*IndexerDefinition, error)
type Runner ¶
type Runner struct { Definition *IndexerDefinition Browser browser.Browsable Config config.Config Logger logrus.FieldLogger // contains filtered or unexported fields }
func (*Runner) Capabilities ¶
func (r *Runner) Capabilities() torznab.Capabilities
Click to show internal directories.
Click to hide internal directories.