Documentation ¶
Index ¶
Constants ¶
View Source
const ( CommandInvalid = CommandStatus("command is invalid") CommandSuccessful = CommandStatus("command was processed successfully") CommandFailed = CommandStatus("command was processed with errors") )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandStatus ¶
type CommandStatus string
type Game ¶
type Game interface { TogglePause(_ context.Context) error Play(_ context.Context) error Get(_ context.Context) (*GameState, error) }
Game component.
Click to show internal directories.
Click to hide internal directories.