Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartIntegrations ¶
func StartIntegrations(conf config.MainConfigT, mqtt *mqtt.MQTT)
StartIntegrations asks each enabled Integration to configure itself, then starts them.
Types ¶
type Integration ¶
type Integration interface {
// LoadConfig func should simply load any config (TOML) files for this Integration
LoadConfig(string) error
// Start func begins running the Integration GoRoutines and should return quickly
Start(*mqtt.MQTT)
// Stop terminates the Integration and all Goroutines it contains
Stop()
}
The Integration interface defines the minimal set of methods that an Integration must provide
Click to show internal directories.
Click to hide internal directories.