Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogMQTTMessageHandler ¶ added in v0.1.13
func LogMQTTMessageHandler(name string, handler ErrMQTTMessageHandler) mqtt.MessageHandler
Types ¶
type Client ¶
type Client interface {
SafePublish(topic string, qos byte, retained bool, payload interface{}) mqtt.Token
SafeSubscribe(topic string, qos byte, callback mqtt.MessageHandler) mqtt.Token
SafeUnsubscribe(topics ...string) mqtt.Token
IsConnected() bool
}
Client is bridge between our app and MQTT
Click to show internal directories.
Click to hide internal directories.