Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MQTT ¶
type MQTT struct {
Servers []string `toml:"servers"`
Username string
Password string
Database string
Timeout internal.Duration
TopicPrefix string
QoS int `toml:"qos"`
ClientID string `toml:"client_id"`
tls.ClientConfig
BatchMessage bool `toml:"batch"`
Retain bool `toml:"retain"`
sync.Mutex
// contains filtered or unexported fields
}
func (*MQTT) Description ¶
func (*MQTT) SampleConfig ¶
func (*MQTT) SetSerializer ¶ added in v1.14.0
func (m *MQTT) SetSerializer(serializer serializers.Serializer)
Click to show internal directories.
Click to hide internal directories.