Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MQTTBroker ¶
type MQTTBroker struct { Host string `json:"host,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Topic string `json:"topic,omitempty"` }
func (MQTTBroker) ClientOptions ¶
func (b MQTTBroker) ClientOptions() (*mqtt.ClientOptions, error)
type Root ¶
type Root struct { driver.BaseConfig Broker MQTTBroker `json:"broker,omitempty"` Devices []Device `json:"devices,omitempty"` }
Click to show internal directories.
Click to hide internal directories.