brevo

package
v0.0.0-...-3bb7120 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Emailer

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

func NewEmailer

func NewEmailer(cfg config.EmailConfig) *Emailer

func (*Emailer) NewMessage

func (e *Emailer) NewMessage(subject string, to string, tmplName string, data interface{}) (email.Message, error)

func (*Emailer) Send

func (e *Emailer) Send(ctx context.Context, m email.Message) error

Jump to

Keyboard shortcuts

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