Documentation ¶
Overview ¶
Package email provides an implementation of the app.Notifier interface that sends notifications over standard e-mail.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notifier ¶
type Notifier struct {
// contains filtered or unexported fields
}
Notifier provides messaging & notification capabilities via e-mail.
func NewNotifier ¶
func NewNotifier(tr app.Translator) *Notifier
NewNotifier returns a default-initialized Notifier.
func (*Notifier) Send ¶
func (n *Notifier) Send(to string, msg app.Notification, data app.NotificationData) error
Click to show internal directories.
Click to hide internal directories.