Documentation ¶ Index ¶ type Config func ReadConfig() (*Config, error) func ReadConfigFromFile(n string) (*Config, error) func (c Config) NewLogger() (logging.Logger, error) type Logging Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { Address string Socket string Logging Logging } func ReadConfig ¶ func ReadConfig() (*Config, error) func ReadConfigFromFile ¶ func ReadConfigFromFile(n string) (*Config, error) func (Config) NewLogger ¶ func (c Config) NewLogger() (logging.Logger, error) type Logging ¶ type Logging struct { // Target defines the log target; must be either STDOUT or SYSLOG Target string // Debug defines, whether to output debug messages Debug bool } Logging defines the log configuration Source Files ¶ View all Source files config.go Click to show internal directories. Click to hide internal directories.