Documentation ¶
Overview ¶
*
* * @author liangjf * @create on 2020/6/3 * @version 1.0
*
* * @author liangjf * @create on 2020/6/2 * @version 1.0
*
* * @author liangjf * @create on 2020/7/1 * @version 1.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SuccessMsg = "ok" ErrPushMsg = Errno{Code: New(100), Msg: "推送失败"} ErrPushMsgTagEmpty = Errno{Code: New(101), Msg: "缺失推送应用tag"} ErrPushMsgBodyUUIDEmpty = Errno{Code: New(102), Msg: "缺失推送uuid"} ErrPushMsgBodyTypeEmpty = Errno{Code: New(103), Msg: "缺失推送类型"} ErrPushMsgBodyContentEmpty = Errno{Code: New(104), Msg: "缺失推送内容"} ErrPushMsgBodyExpireTimeOver = Errno{Code: New(105), Msg: "超过最大过期时间"} ErrSignToken = Errno{Code: New(150), Msg: "生成token失败"} ErrUserNotFound = Errno{Code: New(151), Msg: "用户不存在/密码错误"} ErrSaveToken2Redis = Errno{Code: New(152), Msg: "生成token失败"} ErrGatewayEmpty = Errno{Code: New(153), Msg: "网关列表空"} )
Functions ¶
Types ¶
type Result ¶
type Result struct { Code int `json:"Code"` Data interface{} `json:"Data,omitempty"` Msg string `json:"Msg"` }
-----------------------------------------//
Click to show internal directories.
Click to hide internal directories.