Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SpeakExample ¶
func SpeakExample()
Types ¶
type MailerInterface ¶
type MailerInterface interface { Send(to string, body string) error Receive(address string) (string, error) }
Mailer sends and receives emails
type WelcomeSender ¶
type WelcomeSender struct {
// contains filtered or unexported fields
}
WelcomeSender sends a Welcome email to new users
func NewWelcomeSender ¶
func NewWelcomeSender(in *Mailer) (*WelcomeSender, error)
func NewWelcomeSenderNoGuard ¶
func NewWelcomeSenderNoGuard(in *Mailer) *WelcomeSender
func (*WelcomeSender) Send ¶
func (w *WelcomeSender) Send(to string) error
type WelcomeSenderV2 ¶
type WelcomeSenderV2 struct {
// contains filtered or unexported fields
}
WelcomeSenderV2 sends a Welcome email to new users
func NewWelcomeSenderV2 ¶
func NewWelcomeSenderV2(in Sender) *WelcomeSenderV2
func (*WelcomeSenderV2) Send ¶
func (w *WelcomeSenderV2) Send(to string) error
Click to show internal directories.
Click to hide internal directories.