Documentation
¶
Index ¶
Constants ¶
View Source
const (
PluginMQTT = "mqtt"
)
Constants in serial device
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Name string `yaml:"name"` Broker string `yaml:"broker"` Insecure bool `yaml:"insecure"` Username string `yaml:"username"` Password string `yaml:"password" json:"-"` Subscribe string `yaml:"subscribe"` Publish string `yaml:"publish"` QoS int `yaml:"qos"` TransmitPreDelay string `yaml:"transmit_pre_delay"` ReconnectDelay string `yaml:"reconnect_delay"` ConnectionTimeout string `yaml:"connection_timeout"` }
Config struct
Click to show internal directories.
Click to hide internal directories.