Documentation ¶
Overview ¶
Package mailer contains interfaces to deal with mailers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mailer ¶
type Mailer interface { // SendStackTrace emails the current stacktrace to the default FROM SendStackTrace(trace []byte, message string, context map[string]string) error // Send is used to send an email Send(msg *Message) error }
Mailer is an object used to send email
Directories ¶
Path | Synopsis |
---|---|
implementations
|
|
mockmailer
Package mockmailer is a generated GoMock package.
|
Package mockmailer is a generated GoMock package. |
noopmailer
Package noopmailer contains an no-op implementation of the mailer interface
|
Package noopmailer contains an no-op implementation of the mailer interface |
printmailer
Package printmailer contains an implementation of the mailer interface that prints
|
Package printmailer contains an implementation of the mailer interface that prints |
sendgridmailer
Package sendgridmailer contains an implementation of the mailer interface that uses sendgrid
|
Package sendgridmailer contains an implementation of the mailer interface that uses sendgrid |
Click to show internal directories.
Click to hide internal directories.