email

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEmptyEmailToList = errors.New("empty email to list")

ErrEmptyEmailToList signals that no email to has been provided

View Source
var ErrInvalidEmailCredentials = errors.New("invalid email credentials")

ErrInvalidEmailCredentials signals that invalid email credentials have been provided

View Source
var ErrInvalidEmailHost = errors.New("empty email host provided in config")

ErrInvalidEmailHost signals that an empty email host have been provided in config

View Source
var ErrInvalidEmailHostPort = errors.New("invalid email host port")

ErrInvalidEmailHostPort signals that an invalid email host port has been provided

Functions

func NewEmailNotifier

func NewEmailNotifier(args ArgsEmailNotifier) (*emailNotifier, error)

NewEmailNotifier will create a new email notifier instance

Types

type ArgsEmailNotifier

type ArgsEmailNotifier struct {
	Config *config.Email
}

ArgsEmailNotifier defines the arguments needed to create a new email notifier

Jump to

Keyboard shortcuts

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