Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultipleDeviceReq ¶
type MultipleDeviceReq struct {
SingleDeviceReq
DeviceList []string `structs:"device_list"`
PushID string `structs:"push_id"`
}
MultipleDeviceReq ...
type Req ¶
type Req struct {
AccessID string `structs:"access_id"`
TimeStamp string `structs:"timestamp"`
ValidTime string `structs:"valid_time"`
Sign string `structs:"sign"`
}
Req ...
type Resp ¶
type Resp struct {
RetCode int `json:"ret_code"`
ErrMsg string `json:"err_msg"`
Result struct {
Status string `json:"status"`
PushID string `json:"push_id"`
} `json:"result"`
}
Resp ...
type SingleDeviceReq ¶
type SingleDeviceReq struct {
Req
DeviceToken string `structs:"device_token"`
MessageType string `structs:"message_type"`
Message string `structs:"message"`
ExpireTime string `structs:"expire_time"`
SendTime string `structs:"send_time"`
MultiPkg string `structs:"multi_pkg"`
Environment string `structs:"environment"`
}
SingleDeviceReq ...
Click to show internal directories.
Click to hide internal directories.