mailer

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mailer

type Mailer interface {
	SendAccountRecovery(context.Context, *models.User, *primitives.Recovery, primitives.Password) error
}

type TestMail

type TestMail struct {
	To        models.Email
	Type      string
	Arguments map[string]interface{}
}

type TestMailer

type TestMailer struct {
	Mails []*TestMail
}

func (*TestMailer) SendAccountRecovery

func (tm *TestMailer) SendAccountRecovery(
	ctx context.Context, user *models.User, recovery *primitives.Recovery, secret primitives.Password) error

Jump to

Keyboard shortcuts

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