Versions in this module Expand all Collapse all v1 v1.0.1 Apr 12, 2023 v1.0.0 Apr 12, 2023 Changes in this version + type Client struct + func New() *Client + func (c *Client) AddSub(sub event.Subscribe) + func (c *Client) Close() error + func (c *Client) GetAllSubs() (res []event.Subscribe) + func (c *Client) Private(key, sec, url string, dms int) (*Client, error) + func (c *Client) Public(url string) (*Client, error) + func (c *Client) Read(ch chan<- msg.Msg) + func (c *Client) RemoveSub(sub event.Subscribe) + func (c *Client) Send(pld interface{}) error + func (c *Client) SubAdded(sub event.Subscribe) (isAdded bool) + func (c *Client) SubsLimitReached() bool + func (c *Client) Subscribe(sub event.Subscribe) error + func (c *Client) Unsubscribe(chanID int64) error + func (c *Client) WithID(ID int) *Client + func (c *Client) WithSubsLimit(limit int) *Client