MCPcopy Create free account

hub / github.com/DhruvikDonga/wordsbattle / types & classes

Types & classes33 in github.com/DhruvikDonga/wordsbattle

StructApp
internal/handler/routes.go:18
StructApp
cmd/server/main.go:21
StructClient
Client represents the websocket client at the server [server] <--> [client]
internal/modules/cowgameclient/wsclient.go:50
StructClientGameMetadata
internal/modules/cowgameclient/wsclient.go:44
StructClientProps
internal/modules/game/gamroomhandle.go:34
StructClientRoomStats
internal/modules/cowgameclient/messages.go:48
StructClientsinRoomMessage
internal/modules/game/gamroomhandle.go:155
StructClientsinRoomMessage
internal/modules/cowgameclient/messages.go:41
StructConfig
Config stores all configuration of the application. The values are read by viper from a config file or environment variable.
util/config.go:11
StructDatabase
pkg/db/database.go:23
StructGameRoomData
internal/modules/game/gamroomhandle.go:16
StructGameRoomMetadata
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
StructHelloMessage
internal/handler/hello.go:9
StructLobbyServer
internal/modules/cowgameclient/lobbyserver.go:10
StructLoginRequest
internal/modules/users/jsonstructs.go:15
StructLoginRespone
internal/modules/users/jsonstructs.go:20
InterfaceMeshServer
pkg/simplysocket/mesh_server.go:16
StructMeshServerConfig
pkg/simplysocket/mesh_server.go:12
StructMessage
Message struct is the structure of the message which is send in mesh server
pkg/simplysocket/message.go:9
StructMessage
internal/modules/cowgameclient/messages.go:30
StructMetadata
internal/modules/cowgameclient/messages.go:36
StructRegisterRequest
internal/modules/users/jsonstructs.go:3
StructRegisterResponse
internal/modules/users/jsonstructs.go:10
InterfaceRoom
pkg/simplysocket/room_manager.go:13
StructRoom
internal/modules/cowgameclient/roomserver.go:32
StructRoomBotGameMessage
internal/modules/cowgameclient/messages.go:53
InterfaceRoomData
pkg/simplysocket/room_manager.go:8
StructRoomData
internal/modules/game/handle.go:22
StructUser
internal/modules/users/queries.go:3
Structclient
pkg/simplysocket/client.go:42
StructmeshServer
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
TypeAliasmessages
internal/handler/hello.go:14
Structroom
pkg/simplysocket/room_manager.go:35