service

package
v0.0.0-...-d2a2bec Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2020 License: GPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	MIME = "MIME-VERSION: 1.0;\nContent-Type: text/html; charset:\"UTF-8\";\n\n"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Mail

type Mail struct {
	From     string
	To       []string
	Subject  string
	Template string
	Data     map[interface{}]interface{}
}

func (*Mail) NewMail

func (m *Mail) NewMail(from string, to []string, subject string, template string, data map[interface{}]interface{}) *Mail

type MailService

type MailService struct{}

func (*MailService) Send

func (ms *MailService) Send(mail *Mail) (map[interface{}]interface{}, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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