Versions in this module Expand all Collapse all v0 v0.1.6 Feb 24, 2023 v0.1.5 Oct 8, 2022 v0.1.4 Oct 8, 2022 v0.1.3 May 13, 2022 v0.1.2 Feb 17, 2022 Changes in this version + func NewBiliBili() (model.Client, error) + type BiliBili struct + func (c *BiliBili) Enter(room string) (int, [][]byte, error) + func (c *BiliBili) GetPlayURL(room string, qn int) (*model.PlayURL, error) + func (c *BiliBili) GetRoomInfo(room string) (*model.RoomInfo, error) + func (c *BiliBili) Handle(tp int, data []byte) ([]model.Msg, bool, error) + func (c *BiliBili) HeartBeat() (int, []byte, error) + func (c *BiliBili) Host(room string) string + func (c *BiliBili) Plat() string + func (c *BiliBili) SendDanmaku(room string, content string, tp int, color int64) error + func (c *BiliBili) Stop() + type BiliComm struct + func (c *BiliComm) Enter(room string) (int, [][]byte, error) + func (c *BiliComm) GetPlayURL(room string, qn int) (*model.PlayURL, error) + func (c *BiliComm) GetRoomInfo(room string) (*model.RoomInfo, error) + func (c *BiliComm) Handle(tp int, data []byte) ([]model.Msg, bool, error) + func (c *BiliComm) HeartBeat() (int, []byte, error) + func (c *BiliComm) Host(room string) string + func (c *BiliComm) Plat() string + func (c *BiliComm) SendDanmaku(room string, content string, tp int, color int64) error + func (c *BiliComm) Stop() + type Danmaku struct + Bubble string + Content string + DMID int64 + DanmakuColor int64 + MID int64 + MedalLevel int + MedalName string + MobileVerify int + MsgType int + Rank int + RoomAdmin int + SVip int + SendFontSize int + SendMode int + Time int64 + Uname string + UnameColor string + UpName string + UserLevel int + Vip int v0.1.0-release Jan 6, 2022