Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Logging struct { Filename string `yaml:"filename"` Journal bool `yaml:"journal"` LevelStr string `yaml:"level"` } `yaml:"logging"` }
func ParseConfig ¶
ParseConfig imports a yaml formatted config file into a Config struct
func (*Config) WriteConfig ¶
WriteConfig will create a YAML formatted config file from a Config struct
Click to show internal directories.
Click to hide internal directories.