lib

package
v0.0.0-...-56a2adc Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2017 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Email

type Email interface {
	AddSender(s interface{}) error
	AddSubject(s string) error
	AddRecipients(r interface{}) error
	AddAttachment(a interface{}) error
	AddTemplate(t interface{}) error
	AddContent(c interface{}) error
	GetInfo() map[string]interface{}
}

Email interface

type Provider

type Provider interface {
	Init() error
	GetName() string
	SendEmail(email interface{}) error
	NewEmail(sn interface{}, s string, t interface{}) (email interface{}, err error)
	RefactorEmail(m map[string]interface{}) (email interface{}, err error)
	ToString() string
}

Provider interface

Jump to

Keyboard shortcuts

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