Versions in this module Expand all Collapse all v1 v1.2.0 Sep 29, 2022 v1.1.0 Sep 24, 2022 Changes in this version + func CheckAuth(client *http.Client) bool v1.0.0 Sep 23, 2022 Changes in this version + var PollLoginError = errors.New("poll login failed") + var QRCodeGenerateErr = errors.New("QRCode generate error") + func AuthAndConnect(client *http.Client, roomID uint64) (room *api.LiveRoom, err error) + func CheckCookieValid(client *http.Client, cookie string) bool + func ConnectDanmuServer(uid uint64, roomID uint64, info *api.DanmuInfoResp) (room *api.LiveRoom, err error) + func GetDanmuInfo(client *http.Client, id uint64) (info *api.DanmuInfoResp, err error) + func GetRoomInfo(client *http.Client, roomID uint64) (info *api.RoomInfoResp, err error) + func GetUserInfo(client *http.Client) *api.UserInfo + func GetUserRoomInfo(client *http.Client, roomID uint64) (info *api.UserRoomInfo, err error) + func PollLogin(client *http.Client, data *api.QRCodeLoginData) (cookie string, err error) + func QRCodeLogin(client *http.Client) (data *api.QRCodeLoginData, err error)