package
Version:
v0.0.0-...-5ecede5
Opens a new window with list of versions in this module.
Published: Aug 15, 2018
License: LGPL-3.0-or-later
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AlertMessage struct {
To string `toml:"to"`
From string `toml:"from"`
Subject string `toml:"subject"`
}
type Config struct {
Daemon Daemon `toml:"daemon"`
AlertMessage AlertMessage `toml:"alert_message"`
Smtp Smtp `toml:"smtp"`
NodesList []string `toml:"nodes_list"`
}
type Daemon struct {
DaemonMode bool `toml:"daemon"`
QueryingPeriod int `toml:"querying_period"`
}
type Smtp struct {
Host string `toml:"host"`
Port int `toml:"port"`
Username string `toml:"username"`
Password string `toml:"password"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.