verifymanager

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	// contains filtered or unexported fields
}

DB will manage verification codes.

func NewDB

func NewDB(ctx context.Context, db *sql.DB) (*DB, error)

NewDB will create a new DB instance, preparing all statements.

func (*DB) Name

func (db *DB) Name() string

Name returns the name of the module.

func (*DB) UpdateAll

func (db *DB) UpdateAll(ctx context.Context) error

UpdateAll will insert all verification requests into outgoing_messages.

Jump to

Keyboard shortcuts

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