Versions in this module Expand all Collapse all v0 v0.0.1 Aug 2, 2026 Changes in this version + type Client struct + func Dial(ctx context.Context, addr string, opts Options) (*Client, error) + func (c *Client) Close() error + func (c *Client) Publish(ctx context.Context, topic string, payload []byte, qos byte) error + func (c *Client) Subscribe(ctx context.Context, filter string, handler func(topic string, payload []byte)) error + type Options struct + ClientID string + KeepAlive time.Duration + Password string + Username string