Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version string BuildDate string )
Functions ¶
func BindEnvVars ¶
func BindEnvVars()
func InitConfig ¶
func InitConfig(cfgFile string)
func SetDefaults ¶
func SetDefaults()
func WriteConfig ¶
func WriteConfig(cfg SpeedtestWrapperConfig) string
WriteConfig writes config to file
Types ¶
type MQTTConfig ¶
type MQTTConfig struct { Host string Port string User string Pass string ClientName string Topic string Qos byte }
MQTTConfig is a config abstraction for the MQTT client
type SpeedtestWrapperConfig ¶
type SpeedtestWrapperConfig struct {
MQTT MQTTConfig
}
SpeedtestWrapperConfig is an abstraction for the app config
Click to show internal directories.
Click to hide internal directories.