Versions in this module Expand all Collapse all v1 v1.5.1 Oct 23, 2023 Changes in this version + func HttpGet(url string, headers *http.Header) ([]byte, error) v1.5.0 Sep 11, 2023 Changes in this version + func GetJsonWithHeader(url string, headers *http.Header, result interface{}) error + func GetUid(cookie string) (int, error) + type UserInfo struct + Code int + Data struct{ ... } + Message string + TTL int v1.4.0 Aug 12, 2023 v1.3.1 Jul 9, 2023 v1.3.0 Sep 11, 2022 Changes in this version + func GetJson(url string, result interface{}) error + func GetRoomRealID(roomID string) (string, error) + type BiliVerify struct + Csrf string + SessData string + type DanmakuRequest struct + Bubble string + Color string + DmType string + FontSize string + Mode string + Msg string + RoomID string + type DanmuInfo struct + Code int + Data struct{ ... } + Message string + Ttl int + func GetDanmuInfo(roomID string) (*DanmuInfo, error) + type RoomInfo struct + Code int + Data struct{ ... } + Message string + Msg string + func GetRoomInfo(roomID string) (*RoomInfo, error) + type SendDanmakuResp struct + Code int + Data struct{ ... } + Message string + Msg string + func SendDanmaku(d *DanmakuRequest, v *BiliVerify) (*SendDanmakuResp, error) + func SendDefaultDanmaku(roomID string, message string, verify *BiliVerify) (*SendDanmakuResp, error)