logger

package
v0.0.0-...-a3487a6 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: MIT Imports: 7 Imported by: 1

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