Documentation ¶
Index ¶
- func GenerateOTP(maxDigits uint32) string
- func GenericSendMail(subject string, content string, toEmail string, userName string) error
- func SendDeletionMail(toEmail string, userID uint, userName string) error
- func SendForgotPasswordMail(toEmail string, userID uint, userName string) error
- func SendRegistrationMail(subject string, content string, toEmail string, userID uint, userName string, ...) error
- type EmailAddress
- type RegistrationEmail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateOTP ¶
func GenericSendMail ¶
func SendForgotPasswordMail ¶
Types ¶
type EmailAddress ¶
type RegistrationEmail ¶
type RegistrationEmail struct { Subject string `json:"subject"` From EmailAddress `json:"from"` To []EmailAddress `json:"to"` Category string `json:"category"` Text string `json:"text"` }
Click to show internal directories.
Click to hide internal directories.