Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mail ¶
type Mail struct {
// contains filtered or unexported fields
}
Mail is a notifier sending mails
func NewMail ¶
func NewMail(sender string, client MailClient) *Mail
NewMail returns a new Mail instance
type MailClient ¶
type MailClient interface {
Send(msg *gomail.Message) error
}
MailClient is an SMTP client for sending mails
Click to show internal directories.
Click to hide internal directories.