redi

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2017 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IM_QUEUE_NAME   = "/im"
	SMS_QUEUE_NAME  = "/sms"
	MAIL_QUEUE_NAME = "/mail"
)

Variables

This section is empty.

Functions

func PopAllIM

func PopAllIM() []*model.IM

func PopAllMail

func PopAllMail() []*model.Mail

func PopAllSms

func PopAllSms() []*model.Sms

func WriteIM

func WriteIM(tos []string, content string)

func WriteIMModel

func WriteIMModel(im *model.IM)

func WriteMail

func WriteMail(tos []string, subject, content string)

func WriteMailModel

func WriteMailModel(mail *model.Mail)

func WriteSms

func WriteSms(tos []string, content string)

func WriteSmsModel

func WriteSmsModel(sms *model.Sms)

Types

This section is empty.

Jump to

Keyboard shortcuts

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