package
1.0.1
Repository: https://github.com/tuffnerdstuff/hauk-snitch.git
Documentation: pkg.go.dev

# Functions

New returns an instance of an mqtt client.

# Constants

ParamAccuracy is the key for the parameter "accuracy".
ParamAltitude is the key for the parameter "altitude".
ParamLatitude is the key for the parameter "latitude".
ParamLongitude is the key for the parameter "longitude".
ParamTime is the key for the parameter "time".
ParamTrigger is the key for the parameter "trigger".
ParamType is the key for the parameter "type".
ParamVelocity is the key for the parameter "velocity".
TriggerManual is a value for the parameter "trigger".

# Structs

Client provides an mqtt client.
Config holds configuration for MqttClient.
Message is an MQTT message consisting of a topic and a body (map).