noop

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2019 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sender

type Sender struct {
	Requests []*request
}

Sender does not send emails

func NewSender

func NewSender() *Sender

NewSender creates a new NoopSender

func (*Sender) BatchSend

func (s *Sender) BatchSend(ctx email.Context, templateName string, params email.Params, from string, to []email.Recipient) error

BatchSend an email to multiple recipients

func (*Sender) Send

func (s *Sender) Send(ctx email.Context, templateName string, params email.Params, from string, to email.Recipient) error

Send an email

Jump to

Keyboard shortcuts

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