Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Notification ¶
type Notification struct {
// Defines the type of notification either slack or email.
NotificationType NotificationType `json:"notification_type,omitempty"`
// Email or Slack notification
Payload interface{} `json:"payload,omitempty"`
}
type NotificationType ¶
type NotificationType string
const ( SlackNotificationType NotificationType = "slack" EmailNotificationType NotificationType = "email" )
type SlackNotification ¶
Click to show internal directories.
Click to hide internal directories.