redi

package
v0.0.0-...-1489327 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: GPL-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