Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrCreateGame ¶
type ErrCreateGame struct {
Err error
}
func (*ErrCreateGame) Error ¶
func (e *ErrCreateGame) Error() string
type Event ¶
type Event struct { Type EventType `json:"type"` Payload interface{} `json:"payload"` }
ffjson: nodecoder
func (*Event) MarshalJSON ¶
MarshalJSON marshal bytes to json - template
func (*Event) MarshalJSONBuf ¶
func (j *Event) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
type Game ¶
type Game struct {
// contains filtered or unexported fields
}
func (*Game) ListenEvents ¶
Click to show internal directories.
Click to hide internal directories.