Documentation ¶
Index ¶
- func Ignore(_ data.Client, _ []byte)
- type Client
- func (tc *Client) AssertError(t *testing.T, msg string)
- func (tc *Client) Broadcast(v interface{})
- func (tc *Client) Error(err string, params ...interface{})
- func (tc *Client) GetPlayer() *data.Player
- func (tc *Client) Host() string
- func (tc *Client) Message(v interface{})
- func (tc *Client) Send(v interface{})
- func (tc *Client) SetPlayer(p *data.Player)
- type ErrorMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type ErrorMessage ¶
type ErrorMessage struct {
Error string `json:"error"`
}
Click to show internal directories.
Click to hide internal directories.