Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthMessage ¶
type AuthMessage struct { Uid int `json:"uid"` Roomid int `json:"roomid"` Protover int `json:"protover"` Platform string `json:"platform"` Type int `json:"type"` Key string `json:"key"` }
func NewDefaultAuthMessage ¶
func NewDefaultAuthMessage(uid, roomId int, key string) AuthMessage
type BilibiliBasicResp ¶
type GetDanmuHostListResp ¶
type GetDanmuHostListResp struct { BilibiliBasicResp Data struct { Group string `json:"group"` BusinessID int `json:"business_id"` RefreshRowFactor float64 `json:"refresh_row_factor"` RefreshRate int `json:"refresh_rate"` MaxDelay int `json:"max_delay"` Token string `json:"token"` HostList []struct { Host string `json:"host"` Port int `json:"port"` WssPort int `json:"wss_port"` WsPort int `json:"ws_port"` } `json:"host_list"` } `json:"data"` }
type LiveId2RoomIdResp ¶
type LiveId2RoomIdResp struct { BilibiliBasicResp Data struct { RoomId int `json:"room_id"` ShortId int `json:"short_id"` Uid int `json:"uid"` NeedP2P int `json:"need_p2p"` IsHidden bool `json:"is_hidden"` IsLocked bool `json:"is_locked"` IsPortrait bool `json:"is_portrait"` LiveStatus int `json:"live_status"` HiddenTill int `json:"hidden_till"` LockTill int `json:"lock_till"` Encrypted bool `json:"encrypted"` PwdVerified bool `json:"pwd_verified"` LiveTime int64 `json:"live_time"` RoomShield int `json:"room_shield"` IsSp int `json:"is_sp"` SpecialType int `json:"special_type"` } `json:"data"` }
Click to show internal directories.
Click to hide internal directories.