logger

package
v0.0.0-...-2a3cdc3 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2020 License: MIT, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Output io.Writer
}

Config gomail config

type Sender

type Sender struct {
	*Config

	Sent []*mailer.Email
}

Sender gomail struct

func New

func New(config *Config) *Sender

New initalize gomail sender with gomail.Dailer

func (*Sender) Send

func (sender *Sender) Send(email mailer.Email) error

Send send email with GoMail

Jump to

Keyboard shortcuts

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