Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ConfigInstance ¶
type ConfigInstance struct {
Name string `json:"name"`
Type string `json:"type"` // "radarr" or "sonarr"
URL string `json:"url"`
APIKey string `json:"api_key"`
Category string `json:"category"`
Enabled bool `json:"enabled"`
}
ConfigInstance represents an arrs instance from configuration
type ConfigManager ¶
type ConfigManager interface {
GetConfig() *config.Config
GetConfigGetter() config.ConfigGetter
UpdateConfig(config *config.Config) error
SaveConfig() error
}
ConfigManager interface defines methods needed for configuration management
Click to show internal directories.
Click to hide internal directories.