Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func With ¶
func With(webhookURL string, opts ...Option) alertmanager.ContactPointOption
With creates an Opsgenie contact point type with the given settings.
Types ¶
type Option ¶
type Option func(contactType *discordType)
Option represents an option that can be used to configure a "discord" contact point type.
func UseDiscordUsername ¶
func UseDiscordUsername() Option
UseDiscordUsername uses the username configured in Discord's webhook settings. Otherwise, the username will be 'Grafana'.
Click to show internal directories.
Click to hide internal directories.