service

package
v0.0.0-...-b23eb34 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2014 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Mail = &MailService{C: make(chan MailInfo)}
)

Functions

This section is empty.

Types

type MailInfo

type MailInfo struct {
	Revi    string
	Title   string
	Context string
}

邮件信息

type MailService

type MailService struct {
	C chan MailInfo
}

邮件发送服务

func (*MailService) SendMail

func (this *MailService) SendMail(rcpt, title, context string)

异步发送 默认尝试5次

func (*MailService) SendMailSync

func (this *MailService) SendMailSync(rcpt, title, context string, maxtries int) error

同步发送

Jump to

Keyboard shortcuts

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