Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notifier ¶
type Notifier struct { // MailgunAPIKey stores the API key for Mailgun if configured. MailgunAPIKey string // MailgunDomain stores the domain for Mailgun if configured. MailgunDomain string // Recipient is the email address to send the notification to. Recipient string // Server is the email server. Server string // Sender is the email address to send the notification from. Sender string // Auth holds the authentication details for the email server. Auth smtp.Auth }
Notifier sends an email notification when something is wrong.
Click to show internal directories.
Click to hide internal directories.