Versions in this module Expand all Collapse all v0 v0.5.0 Mar 7, 2022 v0.4.0 Mar 7, 2022 v0.3.0 Mar 7, 2022 v0.2.0 Mar 7, 2022 Changes in this version + type Client struct + Events []*Event + func NewClient(options Options) *Client + func (client *Client) Connect() error + func (client *Client) CreateEvent(topic string, qos QoS) *Event + func (client *Client) Disconnect() + func (client *Client) Subscribe() (chan Message, error) + type Event struct + QoS QoS + Topic string + func (event *Event) Publish(payload interface{}) error + type Message struct + Event Event + ID uint16 + Payload []byte + Timestamp time.Time + type Options struct + Broker string + Password string + Username string + type QoS byte + const AtLeastOnce + const AtMostOnce + const ExactlyOnce v0.1.0 Mar 7, 2022