Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultApnsSubject = "no title"
)
Variables ¶
This section is empty.
Functions ¶
func GetByMessage ¶
func GetByMessage(ctx iris.Context)
Types ¶
type ApnsInfoResp ¶
type ApnsInfoResp struct { Id int `json:"id,omitempty"` Mode int `json:"mode"` MessageId int `json:"messageId,omitempty"` // message BundleId string `json:"bundleId,omitempty"` Params string `json:"params,omitempty"` Status int `json:"status,omitempty"` CreateTime string `json:"createTime,omitempty"` UpdateTime string `json:"updateTime,omitempty"` }
type Req ¶
type Req struct { BundleId string `json:"bundleId,omitempty"` // bundle id Param interface{} `json:"params,omitempty"` // params Mode int `json:"mode,omitempty"` // mode Subject string `json:"subject,omitempty"` // subject Sender string `json:"sender,omitempty"` // mail send account on the platform Receiver string `json:"receiver,omitempty"` // receiver list(with comma if multi) }
type RespWrapper ¶
type RespWrapper struct { app.Response ApnsInfoResp }
Click to show internal directories.
Click to hide internal directories.