Versions in this module Expand all Collapse all v0 v0.2.0 Jun 10, 2020 Changes in this version + var ErrJoinChat = errors.New("couldn't join chat") + type Client struct + Password string + URL string + Username string + func New(ctx context.Context, username, password, url string) (*Client, error) + func (b *Client) Connect() error + func (b *Client) GetChats() ([]string, error) + func (b *Client) JoinChat(chat string) error + func (b *Client) JoinChats(chatnames ...string) + func (b *Client) PostMessage(chat, text string) + func (b *Client) StartListen() <-chan events.Event + func (b *Client) StartSendingKeepAlive()