Versions in this module Expand all Collapse all v1 v1.0.0 May 27, 2018 Changes in this version + var Command = cli.Command + type Client struct + func (c *Client) Disconnect() error + func (c *Client) Send(cmd *protocol.RawCommand) error + type Room struct + Clients []*Client + func (r *Room) Broadcast(cmd *protocol.RawCommand) error + func (r *Room) Join(cl *Client) error + func (r *Room) Leave(cl *Client) error + type Server interface + Broadcast func(cmd *protocol.RawCommand) error + GetRoom func(id string) *Room + Run func() error + Shutdown func() error