Documentation
¶
Index ¶
Constants ¶
View Source
const ( WatcherApp = 1 << iota NotificationApp )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
QueueConfig QueueConfig
WatcherCfg WatcherConfig
NotifCfg NotifConfig
AppMode int
GracefulShutdownTimeout int64
}
func GetEnvConfig ¶
type GenericNotifConfig ¶
type GenericNotifConfig struct {
Url string
}
type MattermostConfig ¶
type NotifConfig ¶
type NotifConfig struct {
RedisQueueReadNames []string // comma seperated
NotificationPlatform string
TelegramConfig TelegramConfig
GenericNotifConfig GenericNotifConfig
MattermostConfig MattermostConfig
}
type QueueConfig ¶
type QueueConfig struct {
QueueType string
RedisConfig RedisConfig
}
type RedisConfig ¶
type RedisConfig struct {
RedisURL string
}
type TelegramConfig ¶
type WatcherConfig ¶
Click to show internal directories.
Click to hide internal directories.