mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-21 23:43:27 +01:00
28 lines
1002 B
Go
28 lines
1002 B
Go
package alerting
|
|
|
|
import (
|
|
"github.com/TwinProduction/gatus/alerting/provider/custom"
|
|
"github.com/TwinProduction/gatus/alerting/provider/pagerduty"
|
|
"github.com/TwinProduction/gatus/alerting/provider/slack"
|
|
"github.com/TwinProduction/gatus/alerting/provider/mattermost"
|
|
"github.com/TwinProduction/gatus/alerting/provider/twilio"
|
|
)
|
|
|
|
// Config is the configuration for alerting providers
|
|
type Config struct {
|
|
// Slack is the configuration for the slack alerting provider
|
|
Slack *slack.AlertProvider `yaml:"slack"`
|
|
|
|
// Mattermost is the configuration for the mattermost alerting provider
|
|
Mattermost *mattermost.AlertProvider `yaml:"mattermost"`
|
|
|
|
// Pagerduty is the configuration for the pagerduty alerting provider
|
|
PagerDuty *pagerduty.AlertProvider `yaml:"pagerduty"`
|
|
|
|
// Twilio is the configuration for the twilio alerting provider
|
|
Twilio *twilio.AlertProvider `yaml:"twilio"`
|
|
|
|
// Custom is the configuration for the custom alerting provider
|
|
Custom *custom.AlertProvider `yaml:"custom"`
|
|
}
|