Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Receivers map[string]notifier.ReceiverConfig `yaml:"receivers"` // Receivers is the map of receiver IDs to their configurations.
Heartbeats heartbeat.HeartbeatConfigMap `yaml:"heartbeats"` // Heartbeats is the map of heartbeat IDs to their configurations.
}
Config is the top-level configuration.
func LoadConfig ¶
LoadConfig loads configuration from a YAML file.
Click to show internal directories.
Click to hide internal directories.