package
Version:
v0.0.0-...-7082fca
Opens a new window with list of versions in this module.
Published: Aug 12, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Notifiers []*notifierInstace `yaml:"notifiers"`
Log *LogConfig `yaml:"log"`
}
Config is a struct that holds the configuration that is
used for the application. It includes logger and notifiers configuration.
New returns a new Config struct
type LogConfig struct {
Level string `yaml:"level"`
}
LogConfig contains the configuration for the logger, e.g. level
Source Files
¶
Click to show internal directories.
Click to hide internal directories.