Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailSender ¶
type EmailSender interface {
SendEmail(
subject string,
text string,
to []string,
cc []string,
bcc []string,
attachments []string,
) error
SendWelcomeEmail(NewUserInfo) error
SendPasswordResetEmail(ResetPasswordInfo) error
}
func NewEmail ¶
func NewEmail() EmailSender
type Emailer ¶
type Emailer struct {
// contains filtered or unexported fields
}
func (*Emailer) SendPasswordResetEmail ¶
func (emailer *Emailer) SendPasswordResetEmail(resetInfo ResetPasswordInfo) error
func (*Emailer) SendWelcomeEmail ¶
func (emailer *Emailer) SendWelcomeEmail(userInfo NewUserInfo) error
type NewUserInfo ¶
type ResetPasswordInfo ¶
Click to show internal directories.
Click to hide internal directories.