config

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SabnzbdConfig

type SabnzbdConfig struct {
	URL              string `validate:"required|url"`
	ApiKey           string `validate:"required"`
	DisableSSLVerify bool
}

func LoadSabnzbdConfig

func LoadSabnzbdConfig(conf base_config.Config) (*SabnzbdConfig, error)

func (*SabnzbdConfig) Validate

func (c *SabnzbdConfig) Validate() error

Jump to

Keyboard shortcuts

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