arr

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProwlarrClient

func GetProwlarrClient(params map[string]string) *prowlarr.Prowlarr

func GetRadarrClient

func GetRadarrClient(params map[string]string) *radarr.Radarr

func GetReadarrClient

func GetReadarrClient(params map[string]string) *readarr.Readarr

func GetSonarrClient

func GetSonarrClient(params map[string]string) *sonarr.Sonarr

func NewArrClientSet

func NewArrClientSet(botConfig config.BotConfig)

Types

type ArrFeature

type ArrFeature interface {
	GetFeature() *BloopyArrFeature
	GenerateClient(config.FeatureConfig) *starr.App
}

type BloopyArrClientSet

type BloopyArrClientSet map[string]*starr.App

func GetBloopyArrClientSet

func GetBloopyArrClientSet(botConfig config.BotConfig) *BloopyArrClientSet

type BloopyArrFeature

type BloopyArrFeature struct {
	Name            string
	ClientGenerator func(params map[string]string) *starr.App
}

type FeatureKeys

type FeatureKeys struct {
	Sonarr       string
	Radarr       string
	SonarrUHD    string
	RadarrUHD    string
	Readarr      string
	ReadarrAudio string
	Prowlarr     string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL