Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Email ¶
type Email struct{}
Email is the struct to use to implement all of the Emailer interfaces
func New ¶
func New() *Email
New makes a new Email struct which implements all of the "Emailer" methods
func (*Email) SendResetPWEmail ¶
func (e *Email) SendResetPWEmail(resetPWInfo *ResetPWInfo) (bool, error)
SendResetPWEmail sends an email to a user allowing them to reset their password
type Emailer ¶
type Emailer interface { PasswordEmailer }
Emailer combines all of the various aspecs of our email layer into one
type PasswordEmailer ¶
type PasswordEmailer interface {
SendResetPWEmail(resetPWInfo *ResetPWInfo) (bool, error)
}
PasswordEmailer describes all of the methods used for sending emails related to a user's password
type ResetPWInfo ¶
ResetPWInfo is a convenience data structure for holding all relevant information for resetting a user's password
Click to show internal directories.
Click to hide internal directories.