Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Type represents Webhook as notify backend Type string = "webhook" )
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 notifications to a webhook
func NewWebhookNotificationSender ¶
func NewWebhookNotificationSender(webhookURL, username, password string, headers map[string]string) *NotificationSender
NewWebhookNotificationSender instantiates a NotificationSender
Click to show internal directories.
Click to hide internal directories.