Documentation
¶
Index ¶
Constants ¶
View Source
const ColorDanger string = "danger"
ColorDanger is a predefined color for a dangerous condition (red)
View Source
const ColorGood string = "good"
ColorGood is a predefined color for a normal information (green)
View Source
const ColorWarning string = "warning"
ColorWarning is a predefined color for a warning (yellow)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
WebhookURL string `mapstructure:"webhook_url"`
Channel string `mapstructure:"channel"`
Username string `mapstructure:"username"`
IconEmoji string `mapstructure:"icon_emoji"`
RetryRatelimited bool `mapstructure:"retry_ratelimited"`
RetryBackground bool `mapstructure:"retry_background"`
// contains filtered or unexported fields
}
Message defines the message that should be send to Slack
Click to show internal directories.
Click to hide internal directories.
