console

package
v0.0.0-...-22e1697 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: AGPL-3.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 struct {
}

Mailer implements the `email.Mailer` interface to print emails to console

func NewMailer

func NewMailer() *Mailer

NewMailer returns a new console Mailer

func (*Mailer) SendBroadcast

func (mailer *Mailer) SendBroadcast(ctx context.Context, email email.Email) error

func (*Mailer) SendTransactionnal

func (mailer *Mailer) SendTransactionnal(ctx context.Context, email email.Email) error

Send an email using the console mailer

Jump to

Keyboard shortcuts

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