mail

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2019 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mail

type Mail interface {
	Send(to, subjecttpl, bodytpl string, emdata interface{}) error
}

Mail is a service wrapper around a mailer instance

type Service

type Service interface {
	governor.Service
	Mail
}

func New

func New(tpl template.Template, queue msgqueue.Msgqueue) Service

New creates a new mailer service

Jump to

Keyboard shortcuts

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