Documentation
¶
Index ¶
- func Connect(uri, username, password, clientId string) (MQTT.Client, error)
- func HandleExit(p service.Part)
- func InitFloat64Flag(key string, defValue float64) float64
- func InitIntFlag(key string, defValue int) int
- func InitMqttFlagSet(flagSet *flag.FlagSet, defaultClientId string, ...)
- func InitMqttFlags(defaultClientId string, mqttBroker, username, password, clientId *string, ...)
- func SetDefaultValueFromEnv(value *string, key string, defaultValue string)
- func SetFloat64DefaultValueFromEnv(value *float64, key string, defaultValue float64) error
- func SetIntDefaultValueFromEnv(value *int, key string, defaultValue int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleExit ¶
func InitFloat64Flag ¶
func InitIntFlag ¶
func InitMqttFlagSet ¶
func InitMqttFlags ¶
func SetDefaultValueFromEnv ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.