Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Example ¶
type Example struct { // ID dxo.ExampleID `json:"id"` Base Foo string `json:"foo"` Bar int `json:"bar"` }
Example ... VO
type Message ¶
type Message struct { Type MessageType `json:"type"` ToAddr string `json:"to"` FromAddr string `json:"from"` ToUser string `json:"to_user"` FromUser string `json:"from_user"` Title string `json:"title"` ContentType string `json:"content_type"` Content string `json:"content"` }
Message ... dto
type MessageType ¶
type MessageType string
MessageType 表示消息类型
const ( TypeSMS MessageType = "sms" TypeEmail MessageType = "email" )
定义消息类型
Click to show internal directories.
Click to hide internal directories.