Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FishZe/go-bili-chat
/ functions
Functions
307 in github.com/FishZe/go-bili-chat
⨍
Functions
307
◇
Types & classes
319
↓ 20 callers
Method
Unmarshal
(data []byte, v interface{})
handler/main.go:32
↓ 11 callers
Method
AddOption
(Cmd string, RoomId int, Do handler.Do)
main.go:80
↓ 9 callers
Method
New
()
handler/template.go:391
↓ 8 callers
Method
AddOption
(RoomId int, Do events.BLiveEventHandler)
v2/handler/main.go:25
↓ 8 callers
Method
Marshal
(v interface{})
handler/main.go:33
↓ 5 callers
Function
WsHeaderDecoder
(headerBytes []byte)
client/util.go:50
↓ 5 callers
Function
WsHeaderDecoder
(headerBytes []byte)
v2/client/util.go:51
↓ 5 callers
Function
byte4ToUint32
(bytesNum []byte)
client/util.go:41
↓ 4 callers
Method
Close
()
client/client.go:195
↓ 4 callers
Method
Close
()
v2/client/client.go:195
↓ 4 callers
Function
byte4ToUint32
(bytesNum []byte)
v2/client/util.go:42
↓ 3 callers
Method
CmdHandler
(wsHeader *WsHeader, msg []byte)
client/handler.go:42
↓ 3 callers
Method
CmdHandler
(wsHeader *WsHeader, msg []byte)
v2/client/handler.go:20
↓ 3 callers
Function
GetRealRoomId
(roomId int)
client/api.go:119
↓ 3 callers
Function
GetRealRoomId
(roomId int)
v2/client/api.go:120
↓ 3 callers
Method
Run
()
main.go:173
↓ 2 callers
Method
AddRoom
(RoomId int)
main.go:119
↓ 2 callers
Function
ChangeLogLevel
(level log.Level)
main.go:43
↓ 2 callers
Method
Cmd
()
v2/events/events.go:5
↓ 2 callers
Method
HeaderEncoder
(bodyLen uint32)
client/util.go:63
↓ 2 callers
Method
HeaderEncoder
(bodyLen uint32)
v2/client/util.go:64
↓ 2 callers
Method
On
(event *BLiveEvent)
v2/events/events.go:4
↓ 2 callers
Method
Run
()
v2/main.go:174
↓ 2 callers
Method
biliChatConnect
(url string)
client/client.go:72
↓ 2 callers
Method
biliChatConnect
(url string)
v2/client/client.go:72
↓ 2 callers
Function
byte2ToUint16
(bytesNum []byte)
client/util.go:32
↓ 2 callers
Function
byte2ToUint16
(bytesNum []byte)
v2/client/util.go:33
↓ 2 callers
Method
cancel
()
client/client.go:191
↓ 2 callers
Method
cancel
()
v2/client/client.go:191
↓ 2 callers
Method
connectLoop
()
client/client.go:171
↓ 2 callers
Method
connectLoop
()
v2/client/client.go:171
↓ 2 callers
Function
getReq
(data url.Values, getUrl string)
client/api.go:33
↓ 2 callers
Function
getReq
(data url.Values, getUrl string)
v2/client/api.go:34
↓ 1 callers
Method
AddRawRoom
(RawRoom client.WsAuthBody)
main.go:107
↓ 1 callers
Method
AddRawRoom
(RawRoom client.WsAuthBody)
v2/main.go:108
↓ 1 callers
Method
AddRoom
(RoomId int)
v2/main.go:120
↓ 1 callers
Method
BiliChat
(CmdChan chan map[string]interface{})
client/client.go:200
↓ 1 callers
Method
BiliChat
(CmdChan chan *events.BLiveEvent)
v2/client/client.go:200
↓ 1 callers
Function
ChangeLogLevel
(level log.Level)
v2/main.go:44
↓ 1 callers
Function
ChangeSequenceMode
(mode int)
client/api.go:28
↓ 1 callers
Function
ChangeSequenceMode
(mode int)
v2/client/api.go:29
↓ 1 callers
Method
Cmd
()
v2/events/enter.go:15
↓ 1 callers
Method
Cmd
()
v2/events/guard.go:15
↓ 1 callers
Method
Cmd
()
v2/events/gift.go:15
↓ 1 callers
Method
Cmd
()
v2/events/superchat.go:15
↓ 1 callers
Method
CmdBrotliProtoDecoder
(wsHeader *WsHeader, msg []byte)
client/handler.go:55
↓ 1 callers
Method
CmdBrotliProtoDecoder
(wsHeader *WsHeader, msg []byte)
v2/client/handler.go:34
↓ 1 callers
Method
CmdHandler
()
v2/handler/main.go:97
↓ 1 callers
Method
CmdHandler
()
handler/main.go:113
↓ 1 callers
Method
CmdZlibProtoDecoder
(wsHeader *WsHeader, msg []byte)
client/handler.go:64
↓ 1 callers
Method
CmdZlibProtoDecoder
(wsHeader *WsHeader, msg []byte)
v2/client/handler.go:43
↓ 1 callers
Method
CountRoom
()
main.go:164
↓ 1 callers
Method
CountRoom
()
v2/main.go:165
↓ 1 callers
Method
DelOption
(f *handler.Do)
main.go:96
↓ 1 callers
Method
DelOption
(p *events.BLiveEventHandler)
v2/handler/main.go:52
↓ 1 callers
Method
DelRoomOption
(roomId int)
v2/handler/main.go:42
↓ 1 callers
Method
DelRoomOption
(roomId int)
handler/main.go:56
↓ 1 callers
Method
GetContent
()
v2/events/dm.go:19
↓ 1 callers
Function
GetGuardName
(level int)
v2/utils/guard.go:3
↓ 1 callers
Method
GetMedal
()
v2/events/dm.go:35
↓ 1 callers
Function
GetNewHandler
()
main.go:72
↓ 1 callers
Method
GetPackage
()
client/util.go:77
↓ 1 callers
Method
GetPackage
()
client/util.go:96
↓ 1 callers
Method
GetPackage
()
v2/client/util.go:78
↓ 1 callers
Method
GetPackage
()
v2/client/util.go:97
↓ 1 callers
Method
GetUserName
()
v2/events/dm.go:27
↓ 1 callers
Method
MsgHandler
(msg []byte)
client/handler.go:79
↓ 1 callers
Method
MsgHandler
(msg []byte)
v2/client/handler.go:58
↓ 1 callers
Function
NewDefaultEventHandler
(cmd string, handler func(event *BLiveEvent))
v2/events/default.go:8
↓ 1 callers
Function
SetClientPriorityMode
(mode int)
main.go:47
↓ 1 callers
Function
SetClientPriorityMode
(mode int)
v2/main.go:48
↓ 1 callers
Function
SetJsonCoder
(j jsonCoder)
json.go:25
↓ 1 callers
Function
SetJsonCoder
(j jsonCoder)
v2/json.go:24
↓ 1 callers
Method
SetPackage
(header WsHeader, msg []byte)
client/util.go:114
↓ 1 callers
Method
SetPackage
(header WsHeader, msg []byte)
v2/client/util.go:115
↓ 1 callers
Method
doHandler
(msg *events.BLiveEvent)
v2/handler/main.go:60
↓ 1 callers
Method
doHandler
(f reflect.Value, msg map[string]interface{})
handler/main.go:74
↓ 1 callers
Method
getAuthBytes
()
client/util.go:88
↓ 1 callers
Method
getAuthBytes
()
v2/client/util.go:89
↓ 1 callers
Function
getCmd
(msg []byte)
client/handler.go:18
↓ 1 callers
Function
getLiveRoomAuth
(roomId int)
client/api.go:62
↓ 1 callers
Function
getLiveRoomAuth
(roomId int)
v2/client/api.go:63
↓ 1 callers
Function
getPing
(pingUrl string)
client/api.go:103
↓ 1 callers
Function
getPing
(pingUrl string)
v2/client/api.go:104
↓ 1 callers
Method
heartBeat
()
client/client.go:100
↓ 1 callers
Method
heartBeat
()
v2/client/client.go:100
↓ 1 callers
Function
liveRoomSort
(j ApiLiveAuth)
client/api.go:80
↓ 1 callers
Function
liveRoomSort
(j ApiLiveAuth)
v2/client/api.go:81
↓ 1 callers
Method
sendAuthMsg
(wsAuthMsg WsAuthMessage)
client/client.go:90
↓ 1 callers
Method
sendAuthMsg
(wsAuthMsg WsAuthMessage)
v2/client/client.go:90
↓ 1 callers
Method
sendConnect
()
client/client.go:120
↓ 1 callers
Method
sendConnect
()
v2/client/client.go:120
Method
AddOption
(RoomId int, Do events.BLiveEventHandler)
v2/main.go:81
Method
AddOption
(Cmd string, RoomId int, Do Do)
handler/main.go:38
Method
Cmd
()
v2/example/main.go:31
Method
Cmd
()
v2/events/heartbeat.go:12
Method
Cmd
()
v2/events/dm.go:11
Method
Cmd
()
v2/events/default.go:12
Method
DefaultCmd
DefaultCmd 默认处理函数
handler/util.go:108
Method
DelOption
(f *events.BLiveEventHandler)
v2/main.go:97
next →
1–100 of 307, ranked by callers