Documentation ¶
Index ¶
- func ClientIdGen(args ...interface{}) string
- type Client
- func (c *Client) Connect() (err error)
- func (c *Client) Disconnect()
- func (c *Client) IsConnected() bool
- func (c *Client) Publish(topic string, payload interface{}) (err error)
- func (c *Client) Subscribe(topic string, qos byte, callback MQTT.MessageHandler) (err error)
- func (c *Client) Unsubscribe(topic string) (err error)
- type Config
- type Subscribe
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client ...
Click to show internal directories.
Click to hide internal directories.