mss

package
v0.0.0-...-33ecd2b Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

*

  • Copyright 2015 @ z3q.net.
  • name : mail_template
  • author : jarryliu
  • date : 2015-07-27 09:19
  • description :
  • history :

*

  • Copyright 2015 @ z3q.net.
  • name : MssManager
  • author : jarryliu
  • date : 2015-07-26 23:08
  • description :
  • history :

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMssManager

func NewMssManager(p partner.IPartner, rep mss.IMssRep, partnerRep partner.IPartnerRep) mss.IMssManager

Types

type MssManager

type MssManager struct {
	// contains filtered or unexported fields
}

func (*MssManager) CreateMsgTemplate

func (this *MssManager) CreateMsgTemplate(v interface{}) (mss.IMsgTemplate, error)

创建消息模版对象

func (*MssManager) DeleteMailTemplate

func (this *MssManager) DeleteMailTemplate(id int) error

删除邮件模板

func (*MssManager) GetMailTemplate

func (this *MssManager) GetMailTemplate(id int) *mss.MailTemplate

获取邮箱模板

func (*MssManager) GetMailTemplates

func (this *MssManager) GetMailTemplates() []*mss.MailTemplate

获取所有的邮箱模版

func (*MssManager) SaveMailTemplate

func (this *MssManager) SaveMailTemplate(v *mss.MailTemplate) (int, error)

保存邮箱模版

func (*MssManager) Send

func (this *MssManager) Send(tpl mss.IMsgTemplate, data mss.MsgData, to []string) error

发送消息

Jump to

Keyboard shortcuts

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