Documentation
¶
Overview ¶
Package mailertest is an in-memory mailer.Sender for tests of the packages that send email.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sender ¶
type Sender struct {
Err error
// contains filtered or unexported fields
}
Sender keeps every message it is given. Set Err to make the next sends fail, as a mail server that cannot be reached or refuses would; a failed send keeps nothing.
Click to show internal directories.
Click to hide internal directories.