mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-25 09:24:04 +01:00
15 lines
265 B
Go
15 lines
265 B
Go
package core
|
|
|
|
type Alert struct {
|
|
Type AlertType `yaml:"type"`
|
|
Enabled bool `yaml:"enabled"`
|
|
Threshold int `yaml:"threshold"`
|
|
Description string `yaml:"description"`
|
|
}
|
|
|
|
type AlertType string
|
|
|
|
const (
|
|
SlackAlert AlertType = "slack"
|
|
)
|