Documentation
¶
Overview ¶
Package config defines the configuration file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertMode ¶
type AlertMode int
AlertMode determines if alerts grouped by Alertmanager are being kept together.
type CacheConfig ¶
type CacheConfig struct {
// shared settings
Type string
Duration time.Duration
// memory settings
CleanupInterval time.Duration
// redis settings
RedisURL string
}
CacheConfig is the configuration of the cache.
type Config ¶
type Config struct {
BaseURL string
HTTPAddress string
LogLevel string
LogFormat string
LogFile string
AlertMode AlertMode
User string
Password string
Ntfy ntfyConfig
Labels labels
Cache CacheConfig
Am alertmanagerConfig
Resolved resolvedConfig
}
Config is the configuration of the bridge.
Source Files
¶
- config.go
Click to show internal directories.
Click to hide internal directories.