env

package
v0.0.0-...-ee61d11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CfgDebug

func CfgDebug() bool

func CfgHA

func CfgHA() bool

func CfgInfluxDB

func CfgInfluxDB() bool

func CfgMqttClientID

func CfgMqttClientID() string

func CfgMqttDelayBetweenMessages

func CfgMqttDelayBetweenMessages() time.Duration

func CfgMqttKeepAlive

func CfgMqttKeepAlive() uint16

func CfgMqttPassword

func CfgMqttPassword() []byte

func CfgMqttQos

func CfgMqttQos() byte

func CfgMqttRetryDelay

func CfgMqttRetryDelay() time.Duration

func CfgMqttTopic

func CfgMqttTopic() string

func CfgMqttURL

func CfgMqttURL() *url.URL

func CfgMqttUsername

func CfgMqttUsername() string

func CfgOekofenSerial

func CfgOekofenSerial() string

func CfgOekofenURL

func CfgOekofenURL() *url.URL

Getters - Get the

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL