Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Email ¶
type Email struct { From string `json:"from"` To []string `json:"to"` Subject string `json:"subject"` Body string `json:"body"` // contains filtered or unexported fields }
Email is the representation of an e-mail message
type PagerDuty ¶
type PagerDuty struct { Event *pagerDutyEvent // contains filtered or unexported fields }
Pager Duty is the representation of a Pager Duty message
type Sendable ¶
type Sendable interface { // Format sets the format of a Sendable message Format() error // Type returns the message type Type() string // Init initializes the base properties of a message Init(context interface{}, dedupKey string, payload *gabs.Container) }
Sendable represents the contract of a message that can be sent over a Notifiable channel
type Slack ¶
type Slack struct { Attachment *slackAttachment // contains filtered or unexported fields }
Slack is the representation of a Slack message
Click to show internal directories.
Click to hide internal directories.