Documentation ¶ Index ¶ type Client func NewClient(baseURL string) *Client func (c *Client) GetMessages(room string) ([]models.Message, error) func (c *Client) GetRooms() ([]string, error) func (c *Client) SendMessage(room, user, message string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { // contains filtered or unexported fields } func NewClient ¶ func NewClient(baseURL string) *Client func (*Client) GetMessages ¶ func (c *Client) GetMessages(room string) ([]models.Message, error) func (*Client) GetRooms ¶ func (c *Client) GetRooms() ([]string, error) func (*Client) SendMessage ¶ func (c *Client) SendMessage(room, user, message string) error Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.