Documentation ¶
Index ¶
Constants ¶
View Source
const ( // GameStatusRUNNING captures enum value "RUNNING" GameStatusRUNNING string = "RUNNING" // GameStatusXWON captures enum value "X_WON" GameStatusXWON string = "X_WON" // GameStatusOWON captures enum value "O_WON" GameStatusOWON string = "O_WON" // GameStatusDRAW captures enum value "DRAW" GameStatusDRAW string = "DRAW" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Game ¶
type Game struct { // The board state // Required: true Board *string `json:"board"` // The game's UUID, read-only, generated by the server. The client can not POST or PUT this. // Read Only: true // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // The game status, read-only, the client can not POST or PUT this // Read Only: true // Enum: [RUNNING X_WON O_WON DRAW] Status string `json:"status,omitempty"` }
Game A game object swagger:model game
func (*Game) MarshalBinary ¶
MarshalBinary interface implementation
func (*Game) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Click to show internal directories.
Click to hide internal directories.