model

package
v0.0.0-...-83adff0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL