Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Type represents OpsGenie as notify backend Type = "opsgenie" // Zone are opsgenie api zones ZoneSandbox = "sandbox" ZoneDefault = "global" ZoneEU = "eu" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotificationSender ¶
type NotificationSender struct {
// contains filtered or unexported fields
}
NotificationSender is a notify.NotificationSender implementation capable of sending formatted notifications over OpsGenie (https://www.atlassian.com/software/opsgenie)
func NewOpsGenieNotificationSender ¶
func NewOpsGenieNotificationSender(zone, apikey, timeout string) (*NotificationSender, error)
NewOpsGenieNotificationSender instantiates a NotificationSender
Click to show internal directories.
Click to hide internal directories.