Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEmailHandler ¶
func NewEmailHandler() *smtpHandler
func NewVerificationCodeHandler ¶
func NewVerificationCodeHandler() *uuidGen
func SendCodeByEmail ¶
Types ¶
type CodeHandler ¶
type CodeHandler interface {
NewCode() string
}
type EmailHandler ¶
type EmailHandler interface { SendUUIDEmailValidation(redis.ClientHandler, string) SendUUIDPassReset(redis.ClientHandler, string) }
Click to show internal directories.
Click to hide internal directories.