Documentation ¶
Index ¶
Constants ¶
View Source
const ( PingTimeout = 1 * time.Second ReconnectInterval = 10 * time.Second DisconnectTimeout = 250 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MQTT ¶
type MQTT struct {
// contains filtered or unexported fields
}
MQTT is a plugin for the saf app. this plugin consumes event and publish them over mqtt.
func (*MQTT) SetChannel ¶
func (p *MQTT) SetChannel(c <-chan model.ChanneledEvent)
Click to show internal directories.
Click to hide internal directories.