Directories
¶
| Path | Synopsis |
|---|---|
|
Package config loads and validates server configuration from a TOML file (subset parser in toml.go) with CLI-flag overrides applied on top.
|
Package config loads and validates server configuration from a TOML file (subset parser in toml.go) with CLI-flag overrides applied on top. |
|
Package lobby implements room and player-slot state: creation, stable player IDs, start semantics, resume tokens, timeout-based slot claiming, signal relay, and room garbage collection.
|
Package lobby implements room and player-slot state: creation, stable player IDs, start semantics, resume tokens, timeout-based slot claiming, signal relay, and room garbage collection. |
|
Package protocol defines the JSON wire messages exchanged over the lobby/signaling WebSocket, plus strict validation for everything a client can send.
|
Package protocol defines the JSON wire messages exchanged over the lobby/signaling WebSocket, plus strict validation for everything a client can send. |
|
Package server wires HTTP routes and the WebSocket signaling endpoint to the lobby manager.
|
Package server wires HTTP routes and the WebSocket signaling endpoint to the lobby manager. |
|
Package static serves the embedded web files.
|
Package static serves the embedded web files. |
|
Package turn mints temporary TURN credentials compatible with coturn's REST-API long-term credential mechanism (use-auth-secret / static-auth-secret).
|
Package turn mints temporary TURN credentials compatible with coturn's REST-API long-term credential mechanism (use-auth-secret / static-auth-secret). |
Click to show internal directories.
Click to hide internal directories.