Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Don is the global channel to signal program termination. If this channel is // closed, then all streaming connections should be terminated gracefully. Don <-chan struct{} // Env Env envvar.Env // Log is the logger interface for printing structured log messages. Log logger.Interface // Reg is the onchain interface for the Registry smart contract. Reg *registry.Registry // Rtr Rtr *router.Client // Uni provides a thread safe mechanism to allocate compact player IDs. // Allocation happens in the server handler, freeing allocated player IDs // happens in the game engine. Uni *unique.Unique[common.Address, byte] }
Click to show internal directories.
Click to hide internal directories.