Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFakeSenderFailure = errors.New("fake sender failure")
ErrFakeSenderFailure represents a fake sender failure.
Functions ¶
This section is empty.
Types ¶
type Sender ¶
type Sender struct {
// contains filtered or unexported fields
}
Sender is in charge of sending emails.
type SenderMock ¶
SenderMock is a mock implementation of the hub EmailSender interface.
func (*SenderMock) SendEmail ¶
func (m *SenderMock) SendEmail(data *Data) error
SendEmail implements the EmailSender interface.
Click to show internal directories.
Click to hide internal directories.