mailer

package
v0.0.0-...-f553d69 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2020 License: MIT Imports: 9 Imported by: 0

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

func SendCodeByEmail(r redis.ClientHandler, e *smtpHandler, email string,
	fileName string, code string, subject string)

Types

type CodeHandler

type CodeHandler interface {
	NewCode() string
}

type EmailHandler

type EmailHandler interface {
	SendUUIDEmailValidation(redis.ClientHandler, string)
	SendUUIDPassReset(redis.ClientHandler, string)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL