Versions in this module Expand all Collapse all v0 v0.0.6 Feb 17, 2024 Changes in this version + type Identifier struct + ID string + Password string type Token + Identifier Identifier v0.0.5 Feb 8, 2024 Changes in this version + const SVC_NULL_16 type Client + func (c *Client) OnAdminNotice(callback func(message string)) + func (c *Client) OnError(callback func(err error)) v0.0.4 Feb 7, 2024 Changes in this version type Token + BJID string v0.0.3 Feb 7, 2024 Changes in this version + const SVC_ADCON_EFFECT + const SVC_ADMIN_CHUSER + const SVC_AD_IN_BROAD_JSON + const SVC_APPENDDATA + const SVC_BAN_WORD + const SVC_BASEBALLEVENT + const SVC_BDM_ADDBLACKINFO + const SVC_BJSTICKERITEM + const SVC_BJ_NOTICE + const SVC_BLINDKICK + const SVC_BUYGOODS + const SVC_BUYGOODSSUB + const SVC_CHATBLOCKMODE + const SVC_CHATMESG + const SVC_CHOCOLATE + const SVC_CHOCOLATESUB + const SVC_CHUSER + const SVC_CLIDOBAEINFO + const SVC_CLUBCOLOR + const SVC_DIRECTCHAT + const SVC_FOLLOW_ITEM + const SVC_FOLLOW_ITEM_EFFECT + const SVC_FREECAT_OWNER_JOIN + const SVC_GEM_ITEMSEND + const SVC_GET_ICEMODE_RELAY + const SVC_GIFT_TICKET + const SVC_ICEMODE + const SVC_ICEMODE_EX + const SVC_ITEMSTATUS + const SVC_ITEMUSING + const SVC_ITEM_DROPS + const SVC_ITEM_SELL_EFFECT + const SVC_JOINCH + const SVC_KEEPALIVE + const SVC_KICK + const SVC_KICK_AND_CANCEL + const SVC_KICK_USERLIST + const SVC_LIVE_CAPTION + const SVC_LOGIN + const SVC_MANAGERCHAT + const SVC_MISSION + const SVC_MISSION_SETTLE + const SVC_NOTICE + const SVC_NOTIFY_MOBBROAD_PAUSE + const SVC_NOTIFY_POLL + const SVC_NOTIFY_VR + const SVC_NOTIGAMERANKER + const SVC_OGQ_EMOTICON + const SVC_OGQ_EMOTICON_GIFT + const SVC_PAIDITEM + const SVC_QUITCH + const SVC_RELOADBURNLEVEL + const SVC_RELOADHOST + const SVC_SENDADMINNOTICE + const SVC_SENDBALLOON + const SVC_SENDBALLOONSUB + const SVC_SENDFANLETRTRER + const SVC_SENDFANLETRTRERSUB + const SVC_SENDPROMOTION + const SVC_SENDQUICKVIEW + const SVC_SENDSUBSCRIPTION + const SVC_SETBJSTAT + const SVC_SETBROADINFO + const SVC_SETCHNAME + const SVC_SETDUMB + const SVC_SETNICKNAME + const SVC_SETSUBBJ + const SVC_SETUSERFLAG + const SVC_SET_ADMIN_FLAG + const SVC_SLOWMODE + const SVC_SNSMESSAGE + const SVC_SNSMODE + const SVC_STARCOIN + const SVC_STATION_ADCON + const SVC_SUPERCHAT + const SVC_SVC_KICK_MSG_STATE + const SVC_SVRSTAT + const SVC_TOPCLAN + const SVC_TOPCLANSUB + const SVC_TOPFAN + const SVC_TOPFANSUB + const SVC_TRANSLATION + const SVC_TRANSLATION_STATE + const SVC_UPDATETICKET + const SVC_USEQUICKVIEW + const SVC_VIDEOBALLOON + const SVC_VIDEOBALLOON_LINK + const SVC_VODADCON + const SVC_VOD_BALLOON + type Adballoon struct + Count int + User User + type Balloon struct + Count int + User User + type ChatMessage struct + Message string + User User + type Client struct + SocketAddress string + Token Token + func NewClient(token Token) (*Client, error) + func (c *Client) Connect(password ...string) error + func (c *Client) OnAdballoon(callback func(adballoon Adballoon)) + func (c *Client) OnBalloon(callback func(balloon Balloon)) + func (c *Client) OnChatMessage(callback func(message ChatMessage)) + func (c *Client) OnConnect(callback func(connect bool)) + func (c *Client) OnJoinChannel(callback func(join bool)) + func (c *Client) OnRawMessage(callback func(message string)) + func (c *Client) OnSubscription(callback func(subscription Subscription)) + func (c *Client) OnUserLists(callback func(userlist []UserList)) + func (c *Client) SendChatMessage(message string) error + func (c *Client) SetInfoHandshake(info Info) []byte + func (c *Client) SetLogHandshake(log Log) []byte + type Flag1 struct + Admin bool + AutoDumb bool + AutoManager bool + BJ bool + Chromecast bool + DobaeBlind bool + DobaeBlind2 bool + Dumb bool + DumbBlind bool + ExitUser bool + Fanclub bool + Female bool + Follower bool + GlobalApp bool + Guest bool + Hidden bool + Manager bool + ManagerList bool + Mobile bool + NoDirect bool + NotiTopFan bool + NotiVodBalloon bool + QuickView bool + Realname bool + SptrSticker bool + TopFan bool + type Flag2 struct + ATagAllow bool + AdminChat bool + Clan bool + CleanAti bool + Employee bool + Flash bool + GameGod bool + GlobalPC bool + LGGame bool + NoRecvChat bool + NoSuperChat bool + PC bool + Police bool + Specify bool + Top20 bool + TopClan bool + type Info struct + AuthInfo string + Password string + func DefaultInfo(password string) Info + type Log struct + AcceptLanguage string + GeoContryCode string + GeoRegionCode string + JoinContryCode string + Quality string + ServiceLanguage string + SetBps string + Subscribe string + ViewBps string + func DefaultLog() Log + type Subscription struct + Count int + User User + type Token struct + ChatRoom string + FanTicket string + Flag string + PdBoxTicket string + type User struct + Flag UserFlag + ID string + Name string + SubscribeMonth int + type UserFlag struct + Flag1 Flag1 + Flag2 Flag2 + type UserList struct + Status bool + User User v0.0.2 Feb 6, 2024 v0.0.1 Jan 25, 2024