Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CanExit = true
View Source
var ConfigFile string = "monitor.json"
ConfigFile points to the file containing the configuration data for the notifications
Functions ¶
func ConfigFromEnv ¶
func ConfigFromEnv()
ConfigFromEnv reads the configuration from the environment
func ConfigFromJson ¶
func ConfigFromJson() error
ConfigFromJson reads the file specified by ConfigFile
func PushoverEnabled ¶
func PushoverEnabled() bool
PushoverEnabled returns true if pushover notifications are enabled.
Types ¶
Click to show internal directories.
Click to hide internal directories.