Documentation
¶
Index ¶
- func NewObserver(msgChs chan *models.MsgChan, log *log.Logger) mqtt.Observer
- type Client
- func (m *Client) Close() error
- func (m *Client) Offline(ctx *comctx.Context, node string, info *dm.DeviceInfo) error
- func (m *Client) Online(ctx *comctx.Context, node string, info *dm.DeviceInfo) error
- func (m *Client) ReportDeviceProperties(ctx *comctx.Context, node string, info *dm.DeviceInfo, report v1.Report, ...) error
- func (m *Client) Start(ch chan *models.MsgChan) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
Click to show internal directories.
Click to hide internal directories.