package
Version:
v0.0.0-...-b7fae21
Opens a new window with list of versions in this module.
Published: Jan 11, 2020
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Checks []*checkInstance `yaml:"checks"`
Notifiers []*notifierInstace `yaml:"notifiers"`
Log *LogConfig `yaml:"log"`
}
Config is the struct that holds the entire configuration
for the app
New return a new `*Config` with `Checks` slice initialized
with 0 checks
type LogConfig struct {
Level string `yaml:"level"`
}
LogConfig is the struct that holds the configuration for the logger
Source Files
¶
Click to show internal directories.
Click to hide internal directories.