Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthdm/gameserver
/ functions
Functions
14 in github.com/anthdm/gameserver
⨍
Functions
14
◇
Types & classes
7
↓ 1 callers
Method
bcast
(from *actor.PID, state *types.PlayerState)
game_server/main.go:117
↓ 1 callers
Method
handleMessage
(msg types.WSMessage)
game_server/main.go:72
↓ 1 callers
Method
login
()
game_client/main.go:31
↓ 1 callers
Function
newGameClient
(conn *websocket.Conn, username string)
game_client/main.go:23
↓ 1 callers
Function
newPlayerSession
(serverPID *actor.PID, sid int, conn *websocket.Conn)
game_server/main.go:25
↓ 1 callers
Method
readLoop
()
game_server/main.go:61
↓ 1 callers
Method
sendPlayerState
(state *types.PlayerState)
game_server/main.go:47
↓ 1 callers
Method
startHTTP
()
game_server/main.go:125
Method
Receive
(c *actor.Context)
game_server/main.go:35
Method
Receive
(c *actor.Context)
game_server/main.go:104
Method
handleWS
handles the upgrade of the websocket
game_server/main.go:134
Function
main
()
game_server/main.go:146
Function
main
()
game_client/main.go:46
Function
newGameServer
()
game_server/main.go:98