mailer

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 2 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, models.Recovery, models.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 models.Recovery, secret models.Password) error

Jump to

Keyboard shortcuts

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