internal/

directory
v0.0.0-...-97f3efd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2026 License: BSD-2-Clause

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).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL