Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Version string `yaml:"version" required:"true"` Actions []action.Action `yaml:"actions"` Verbose bool `yaml:"verbose" default:"false"` Timezone string `yaml:"timezone" default:"UTC"` Server ServerConfig `yaml:"server"` Remotes []Remote `yaml:"remotes"` }
func LoadConfig ¶
type ServerConfig ¶ added in v0.2.0
type ServerConfig struct { Enabled bool `yaml:"enabled" default:"false"` Listen string `yaml:"listen" default:":9399"` }
func (*ServerConfig) Validate ¶ added in v0.2.0
func (sc *ServerConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.