package
Version:
v0.0.0-...-5f4d607
Opens a new window with list of versions in this module.
Published: Dec 23, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func CreateDefaults() error
Conf returns the Config singleton instance.
Load parses, returns, and sets the singleton Config.
Parse parses the yaml configuration file,
returning a Config, or error.
type EmailNotifierConfig struct {
Host string `yaml:"host"`
Port string `yaml:"port"`
Username string `yaml:"username"`
Password string `yaml:"password"`
}
type Recipient struct {
Default string `yaml:"default"`
Name string `yaml:"name"`
Email string `yaml:"email"`
SMS string `yaml:"sms"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.