verifier

package
v0.0.0-...-50815b3 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Verifier

type Verifier struct {
	Email  string
	Hash   string
	Expiry int64
	// contains filtered or unexported fields
}

Verifier manages verification

func New

func New(email string, m *mailer.Mailer) Verifier

New sets up verification on passed email address

func (*Verifier) SendVerification

func (v *Verifier) SendVerification() error

SendVerification sends a verification email

Jump to

Keyboard shortcuts

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