Documentation
¶
Index ¶
- func CfgDebug() bool
- func CfgHA() bool
- func CfgInfluxDB() bool
- func CfgMqttClientID() string
- func CfgMqttDelayBetweenMessages() time.Duration
- func CfgMqttKeepAlive() uint16
- func CfgMqttPassword() []byte
- func CfgMqttQos() byte
- func CfgMqttRetryDelay() time.Duration
- func CfgMqttTopic() string
- func CfgMqttURL() *url.URL
- func CfgMqttUsername() string
- func CfgOekofenSerial() string
- func CfgOekofenURL() *url.URL
- func CfgOekofenVersion() string
- func CfgPrintMessage() bool
- func GetConnMqtt() (mqtt *autopaho.ConnectionManager)
- func ReadConfig() error
- func SetConnMqtt(mqtt *autopaho.ConnectionManager)
- type Connections
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfgInfluxDB ¶
func CfgInfluxDB() bool
func CfgMqttClientID ¶
func CfgMqttClientID() string
func CfgMqttKeepAlive ¶
func CfgMqttKeepAlive() uint16
func CfgMqttPassword ¶
func CfgMqttPassword() []byte
func CfgMqttQos ¶
func CfgMqttQos() byte
func CfgMqttRetryDelay ¶
func CfgMqttTopic ¶
func CfgMqttTopic() string
func CfgMqttURL ¶
func CfgMqttUsername ¶
func CfgMqttUsername() string
func CfgOekofenSerial ¶
func CfgOekofenSerial() string
func CfgOekofenVersion ¶
func CfgOekofenVersion() string
func CfgPrintMessage ¶
func CfgPrintMessage() bool
func GetConnMqtt ¶
func GetConnMqtt() (mqtt *autopaho.ConnectionManager)
func ReadConfig ¶
func ReadConfig() error
ReadConfig - Retrieves the configuration from the environment
func SetConnMqtt ¶
func SetConnMqtt(mqtt *autopaho.ConnectionManager)
Types ¶
type Connections ¶
type Connections struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.