Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DhruvikDonga/wordsbattle
/ types & classes
Types & classes
33 in github.com/DhruvikDonga/wordsbattle
⨍
Functions
117
◇
Types & classes
33
Struct
App
internal/handler/routes.go:18
Struct
App
cmd/server/main.go:21
Struct
Client
Client represents the websocket client at the server [server] <--> [client]
internal/modules/cowgameclient/wsclient.go:50
Struct
ClientGameMetadata
internal/modules/cowgameclient/wsclient.go:44
Struct
ClientProps
internal/modules/game/gamroomhandle.go:34
Struct
ClientRoomStats
internal/modules/cowgameclient/messages.go:48
Struct
ClientsinRoomMessage
internal/modules/game/gamroomhandle.go:155
Struct
ClientsinRoomMessage
internal/modules/cowgameclient/messages.go:41
Struct
Config
Config stores all configuration of the application. The values are read by viper from a config file or environment variable.
util/config.go:11
Struct
Database
pkg/db/database.go:23
Struct
GameRoomData
internal/modules/game/gamroomhandle.go:16
Struct
GameRoomMetadata
room server is a goroutine created by the chatServer when "join-room" message is catched by read-pump it either joins the user to exisiting room or cr
internal/modules/cowgameclient/roomserver.go:15
Struct
HelloMessage
internal/handler/hello.go:9
Struct
LobbyServer
internal/modules/cowgameclient/lobbyserver.go:10
Struct
LoginRequest
internal/modules/users/jsonstructs.go:15
Struct
LoginRespone
internal/modules/users/jsonstructs.go:20
Interface
MeshServer
pkg/simplysocket/mesh_server.go:16
Struct
MeshServerConfig
pkg/simplysocket/mesh_server.go:12
Struct
Message
Message struct is the structure of the message which is send in mesh server
pkg/simplysocket/message.go:9
Struct
Message
internal/modules/cowgameclient/messages.go:30
Struct
Metadata
internal/modules/cowgameclient/messages.go:36
Struct
RegisterRequest
internal/modules/users/jsonstructs.go:3
Struct
RegisterResponse
internal/modules/users/jsonstructs.go:10
Interface
Room
pkg/simplysocket/room_manager.go:13
Struct
Room
internal/modules/cowgameclient/roomserver.go:32
Struct
RoomBotGameMessage
internal/modules/cowgameclient/messages.go:53
Interface
RoomData
pkg/simplysocket/room_manager.go:8
Struct
RoomData
internal/modules/game/handle.go:22
Struct
User
internal/modules/users/queries.go:3
Struct
client
pkg/simplysocket/client.go:42
Struct
meshServer
meshServer runs like workers which are light weight instead of using rooms approach this reduces weight on rooms side this helps for a user to connect
pkg/simplysocket/mesh_server.go:58
TypeAlias
messages
internal/handler/hello.go:14
Struct
room
pkg/simplysocket/room_manager.go:35