email

package
v0.0.0-...-e438b21 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Tpl = template.Must(template.New("email").Parse(tpl))

Functions

This section is empty.

Types

type Email

type Email interface {
	SendEmailVerification(ctx context.Context, name, email, token string) error
}

func NewMailgun

func NewMailgun(config *config.Config) Email

type Mailgun

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

func (*Mailgun) SendEmailVerification

func (m *Mailgun) SendEmailVerification(ctx context.Context, name, email, token string) error

type Mock

type Mock struct {
	mock.Mock
}

func NewMock

func NewMock() *Mock

func (*Mock) SendEmailVerification

func (m *Mock) SendEmailVerification(ctx context.Context, name, email, token string) error

Jump to

Keyboard shortcuts

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