Documentation ¶ Index ¶ type Client func NewClient(cfg *config.MQTT, eb eventbus.EventBus, log *slog.Logger) (*Client, error) func (c *Client) Connect() error func (c *Client) Stop() error func (c *Client) Subscribe() 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(cfg *config.MQTT, eb eventbus.EventBus, log *slog.Logger) (*Client, error) func (*Client) Connect ¶ func (c *Client) Connect() error func (*Client) Stop ¶ func (c *Client) Stop() error func (*Client) Subscribe ¶ func (c *Client) Subscribe() error Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.