Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conf ¶
type Conf struct {
SenderType string `env:"SENDER_TYPE,required"`
Interval int `env:"INTERVAL" envDefault:"65"`
HTTPEndpoint string `env:"HTTP_ENDPOINT"`
HTTPMethod string `env:"HTTP_METHOD" envDefault:"POST"`
EmailAddress string `env:"EMAIL_ADDR"`
PDIntegrationKey string `env:"PD_KEY"`
SlackChannel string `env:"SLACK_CHANNEL" envDefault:"#general"`
SlackUsername string `env:"SLACK_USERNAME" envDefault:"Cole - DeadManSwitch Monitor"`
SlackIcon string `env:"SLACK_ICON" envDefault:":monkey_face:"`
ClusterLabel string `env:"LABEL"`
TelegramToken string `env:"TELEGRAM_TOKEN"`
TelegramChatID int64 `env:"TELEGRAM_CHATID"`
}
Click to show internal directories.
Click to hide internal directories.