Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DanmuSendMessage ¶
type DanmuSendMessage struct { Topic string `json:"topic"` MsgID string `json:"msg_id"` MsgKey string `json:"msg_key"` MsgContent DanmuSendMessageContent `json:"msg_content"` }
DanmuSendMessage
type DanmuSendMessageContent ¶
type DanmuSendMessageContent struct { RoomId int64 `json:"room_id"` Uid int64 `json:"uid"` Uname string `json:"uname"` UserLevel int64 `json:"user_level"` Color string `json:"color"` Msg string `json:"msg"` Time time.Time `json:"time"` }
DanmuSendMessageContent
type GiftSendMessage ¶
type GiftSendMessage struct { Topic string `json:"topic"` MsgID string `json:"msg_id"` MsgKey string `json:"msg_key"` MsgContent GiftSendMessageContent `json:"msg_content"` }
GiftSendMessage
type GiftSendMessageContent ¶
type GiftSendMessageContent struct { Uid int64 `json:"uid"` Ruid int64 `json:"ruid"` RoomId int64 `json:"roomid"` GiftId int64 `json:"giftid"` GiftName string `json:"giftName"` PayCoin int64 `json:"pay_coin"` Num int64 `json:"num"` CoinType string `json:"coinType"` }
GiftSendMessageContent
Click to show internal directories.
Click to hide internal directories.