model

package
Version: v0.0.0-...-6fe13d1 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2017 License: MIT Imports: 1 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IMSms

type IMSms struct {
	Tos     string `json:"tos"`
	Content string `json:"content"`
}

IM sms,Tos need to be 99u or any company im acount

func (*IMSms) String

func (this *IMSms) String() string

type Mail

type Mail struct {
	Tos     string `json:"tos"`
	Subject string `json:"subject"`
	Content string `json:"content"`
}

func (*Mail) String

func (this *Mail) String() string

不希望看到content那么多行,简单的输出一行就好

type Phone

type Phone struct {
	Tos     string `json:"tos"`
	Content string `json:"content"`
}

phone message,Tos means phone number

func (*Phone) String

func (this *Phone) String() string

type Sms

type Sms struct {
	Tos     string `json:"tos"`
	Content string `json:"content"`
}

func (*Sms) String

func (this *Sms) String() string

type WechatSms

type WechatSms struct {
	Tos     string `json:"tos"`
	Content string `json:"content"`
}

Wechat sms,Tos is wechat user name

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL