email

package
v0.0.0-...-0e6b51b Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SendTask

type SendTask struct {
	To          string `json:"to,omitempty" title:"收件人"`
	Subject     string `json:"subject,omitempty" title:"标题"`
	Body        string `json:"body,omitempty" title:"内容"`
	ContentType string `json:"contentType,omitempty" title:"内容类型"`
}

func (*SendTask) GetName

func (T *SendTask) GetName() string

func (*SendTask) GetTitle

func (T *SendTask) GetTitle() string

type Service

type Service struct {
}

func (*Service) GetName

func (S *Service) GetName() string

func (*Service) GetTitle

func (S *Service) GetTitle() string

func (*Service) Send

func (S *Service) Send(app micro.IContext, task *SendTask) (interface{}, error)

Jump to

Keyboard shortcuts

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