Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JsonResult ¶
type JsonResult struct {
ResultCode ResultCode `json:"result_code"`
ResultMessage string `json:"result_message"`
}
type PushOnline ¶
type PushOnline struct {
UserID string `json:"user"`
IsDebug bool `json:"debug"`
Token string `json:"token"`
DevTyp DevTyp `json:"dev_typ"`
}
func (*PushOnline) IsSame ¶
func (o *PushOnline) IsSame(msg *PushOnline) bool
type ResultCode ¶
type ResultCode int8
const ( Success ResultCode = iota ParseJsonErr ErrBlockchain ErrSig ErrTokenNotFound ErrNoValidPushClient ErrPush )
func (ResultCode) PackResult ¶
func (rc ResultCode) PackResult(msg string) []byte
Click to show internal directories.
Click to hide internal directories.