store

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2017 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(i interface{}) error

func Path

func Path(i interface{}) string

func Save

func Save(i interface{}) error

Types

type Config

type Config struct {
	DefaultRetrievePath string `yaml:"defaultRetrievePath"`
	LockFile            string `yaml:"lockFile"`
	LogFile             string `yaml:"logFile"`
	AutoUpdate          bool   `yaml:"autoUpdate"`
	Language            string `yaml:"language"`
	NonStrictMatching   bool   `yaml:"nonStrictMatching"`
	CleanupAfterwards   bool   `yaml:"cleanupAfterwards"`

	Destinations  Destinations  `yaml:"destinations"`
	NamingSchemes NamingSchemes `yaml:"namingSchemes"`
	Notifiers     Notifiers     `yaml:"notifiers"`
}

func NewConfig

func NewConfig() *Config

type Destinations

type Destinations struct {
	Movie  string `yaml:"movie"`
	Series string `yaml:"series"`
	Anime  string `yaml:"anime"`
	Music  string `yaml:"music"`
}

Destinations locations

type NamingSchemes

type NamingSchemes struct {
	Movie  string `yaml:"movie"`
	Series string `yaml:"series"`
	Anime  string `yaml:"anime"`
	Music  string `yaml:"music"`
}

NamingSchemes templates

type Notifiers

type Notifiers struct {
	Plex       string `yaml:"plex"`
	Kodi       string `yaml:"kodi"`
	Emby       string `yaml:"emby"`
	Pushover   string `yaml:"pushover"`
	PushBullet string `yaml:"pushBullet"`
	Gmail      string `yaml:"gmail"`
	Mail       string `yaml:"mail"`
}

Notifiers configuration

Jump to

Keyboard shortcuts

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