Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrImpossibleReadFile = errors.New("impossible to read the template file") ErrImpossibleParseFile = errors.New("impossible to parse the template file") )
Errors
Functions ¶
This section is empty.
Types ¶
type Email ¶
type Email struct { From string `json:"from"` UserID uint `json:"user_id,omitempty"` Addr string `json:"addr"` Subject string `json:"subject"` Body string `json:"body"` TempPassword string `json:"temp_password"` BaseURL string `json:"base_url"` Template string `json:"template"` }
Email contains data to build and send emails
func ChangePassword ¶
ChangePassword returns a Email with settings to change password
Click to show internal directories.
Click to hide internal directories.