connections

package
v0.0.0-...-e45cdf7 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection interface {
	MatchPath()
	RemoveFile()
	Connect()
	FromConfig()
}

type Lidarr

type Lidarr struct {
	Process bool
	ApiKey  string
	Address string
	Port    int
	BaseURL string
	SSL     bool
	// contains filtered or unexported fields
}

func (*Lidarr) Connect

func (l *Lidarr) Connect() (bool, string)

func (*Lidarr) FromConfig

func (l *Lidarr) FromConfig(conf *viper.Viper)

func (*Lidarr) MatchPath

func (l *Lidarr) MatchPath(path string) bool

func (*Lidarr) RemoveFile

func (l *Lidarr) RemoveFile(path string) bool

type Radarr

type Radarr struct {
	Process bool
	ApiKey  string
	Address string
	Port    int
	BaseURL string
	SSL     bool
	// contains filtered or unexported fields
}

func (*Radarr) Connect

func (r *Radarr) Connect() (bool, string)

func (*Radarr) FromConfig

func (r *Radarr) FromConfig(conf *viper.Viper)

func (*Radarr) MatchPath

func (r *Radarr) MatchPath(path string) bool

func (*Radarr) RemoveFile

func (r *Radarr) RemoveFile(path string) bool

type Sonarr

type Sonarr struct {
	Process bool
	ApiKey  string
	Address string
	Port    int
	BaseURL string
	SSL     bool
	// contains filtered or unexported fields
}

func (*Sonarr) Connect

func (s *Sonarr) Connect() (bool, string)

func (*Sonarr) FromConfig

func (s *Sonarr) FromConfig(conf *viper.Viper)

func (*Sonarr) MatchPath

func (s *Sonarr) MatchPath(path string) bool

func (*Sonarr) RemoveFile

func (s *Sonarr) RemoveFile(path string) bool

Jump to

Keyboard shortcuts

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