email

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Email

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

Email implements a Provider for email notifications.

func New

func New(cfg email.Email, logger *zap.Logger) (*Email, error)

New returns the new Email instance

func (*Email) Ignore added in v0.8.2

func (e *Email) Ignore() bool

func (*Email) Name

func (e *Email) Name() string

Name returns the Email channel name

func (*Email) Send

func (e *Email) Send(mes *message.Message) error

Send implements

Jump to

Keyboard shortcuts

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