Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DhruvikDonga/wordsbattle
/ functions
Functions
117 in github.com/DhruvikDonga/wordsbattle
⨍
Functions
117
◇
Types & classes
33
Method
JoinARoom
()
pkg/simplysocket/mesh_server.go:202
Method
LoginHandler
LoginHandler login a user
internal/handler/users.go:70
Function
NewLobbyServer
NewLobbyServer initialize new websocket server
internal/modules/cowgameclient/lobbyserver.go:20
Function
NewMeshServer
NewMeshServer initialize new websocket server
pkg/simplysocket/mesh_server.go:83
Method
PushMessage
PushMessage is to push message from the code not from the UI thats broadcast returns a send only channel
pkg/simplysocket/mesh_server.go:41
Method
PushMessage
()
pkg/simplysocket/mesh_server.go:198
Method
RecieveMessage
ReceiveMessage is to receive message from readpumps of the clients this can be used to manipulate returns a receive only channel
pkg/simplysocket/mesh_server.go:45
Method
RecieveMessage
()
pkg/simplysocket/mesh_server.go:206
Method
RegisterHandler
RegisterHandler registers a new user
internal/handler/users.go:19
Method
RemoveClientRoom
(roomname string, clientname string)
pkg/simplysocket/mesh_server.go:37
Function
RespondWithError
respondwithError return error message
pkg/response_handle.go:11
Method
RoomStopped
()
pkg/simplysocket/room_manager.go:80
Method
Run
Run lobby server accepting various requests
internal/modules/cowgameclient/lobbyserver.go:32
Function
ServeWs
ServeWs handles websocket requests from clients requests.
pkg/simplysocket/client.go:167
Function
ServeWs
ServeWs handles websocket requests from clients requests.
internal/modules/cowgameclient/wsclient.go:173
Method
broadcastToPreviousClientInRoomByBot
(clientwholeft *Client)
internal/modules/cowgameclient/roomserver.go:298
Function
main
()
cmd/server/main.go:27
← previous
101–117 of 117, ranked by callers