Documentation ¶
Index ¶
- func ParseTemplate(templateFileName string, data interface{}) (string, error)
- func SendEmailVerification(domain string, apiKey string, template *TemplateData, templateFileName string, ...) (string, error)
- func SendResetPassword(domain string, apiKey string, template TemplateData, templateFileName string, ...) (string, error)
- type TemplateData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseTemplate ¶
ParseTemplate : this is the method that parse the html file
func SendEmailVerification ¶
func SendEmailVerification(domain string, apiKey string, template *TemplateData, templateFileName string, rootdir string) (string, error)
SendEmailVerification : this method sends the email attach with template to verify the email
func SendResetPassword ¶
func SendResetPassword(domain string, apiKey string, template TemplateData, templateFileName string, rootdir string) (string, error)
SendResetPassword : send the reset password mail to the semder
Types ¶
Click to show internal directories.
Click to hide internal directories.