Back to godoc.org

Package mail

v0.2.7
Latest Go to latest

The latest major version is .

Published: Mar 23, 2020 | License: MPL-2.0 | Module: xorkevin.dev/governor

Index

type Mail

type Mail interface {
	Send(from, name, 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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier