Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExistsMembersResponse ¶
type ExistsMembersResponse struct {
Members string `json:"members"`
}
ExistsMembersResponse 存在的角色响应
type LoginRequest ¶
type LoginRequest struct {
Nickname string `json:"nickname"`
}
LoginRequest 登录请求
type NewUserBroadcast ¶
type NewUserBroadcast struct {
Content string `json:"content"`
}
NewUserBroadcast 新用户广播
type SyncMessage ¶
type SyncMessage struct { Name string `json:"name"` Content string `json:"content"` PacketTime int64 `json:"packetTime"` }
SyncMessage 同步聊天消息
func (*SyncMessage) PacketSpendTime ¶
func (p *SyncMessage) PacketSpendTime() int64
PacketSpendTime 从打包到当前时间,花费了多少时间(纳秒)
type UserBalanceResponse ¶
type UserBalanceResponse struct {
CurrentBalance int64 `json:"currentBalance"`
}
UserBalanceResponse 用户聊天次数响应
type WriteResponse ¶
type WriteResponse struct {
Result bool
}
Click to show internal directories.
Click to hide internal directories.