Documentation
¶
Index ¶
Constants ¶
View Source
const ( Private = 0 Group = 1 )
View Source
const ( Android = "Android" IOS = "IOS" Windows = "Windows" Linux = "Linux" MacOS = "MacOS" )
Variables ¶
View Source
var (
ErrPermission = errors.New("权限不足")
)
Functions ¶
This section is empty.
Types ¶
type AddressLoginReq ¶
type AddressLoginReq struct {
ConnType int32 `json:"connType" example:"0"`
}
type AddressLoginResp ¶
type AddressLoginResp struct {
// 用户地址
Address string `json:"address" example:"123"`
}
用户地址登录请求结果
type FocusMsgReq ¶
type GeneralResponse ¶
type GetModuleResp ¶
type GetPriRecordsReq ¶
type GetPriRecordsResp ¶
type Record ¶
type Record struct {
// log id
Mid string `json:"logId"`
// msg id (uuid)
Seq string `json:"msgId"`
// 发送者 id
FromId string `json:"fromId"`
// 接收者 id
TargetId string `json:"targetId"`
// 消息类型
MsgType int32 `json:"msgType"`
// 消息内容
Content interface{} `json:"content"`
// 消息发送时间
CreateTime uint64 `json:"createTime"`
}
type RevokeMsgReq ¶
type SyncRecordsReq ¶
type SyncRecordsResp ¶
Click to show internal directories.
Click to hide internal directories.