email

package
v0.0.0-...-a97d171 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

func NewSignup

func NewSignup(email string, r *http.Request) error

Types

type ContactTemplate

type ContactTemplate struct {
	IP      string
	Message string
}

type EmailProvider

type EmailProvider interface {
	Send(toEmail, replyToName, replyToEmail, subject string, template emailTemplate) error
}

func GetProvider

func GetProvider() EmailProvider

type Forgot1Template

type Forgot1Template struct {
	IP     string
	Domain string
	Code   string
}

type Forgot2Template

type Forgot2Template struct {
	IP       string
	Password string
}

type ForgotMissingTemplate

type ForgotMissingTemplate struct {
	IP    string
	Email string
}

type SignupTemplate

type SignupTemplate struct {
	IP string
}

type VerifyTemplate

type VerifyTemplate struct {
	IP     string
	Domain string
	Code   string
}

Jump to

Keyboard shortcuts

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