Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GameStatus ¶
type GameStatus string
const ( StatusWaiting GameStatus = "waiting" StatusStarting GameStatus = "starting" StatusPlaying GameStatus = "playing" StatusClosed GameStatus = "closed" )
type SendMessage ¶
type SendMessage struct { Type string `json:"type"` Data interface{} `json:"data,omitempty"` }
Click to show internal directories.
Click to hide internal directories.