package
0.0.1
Repository: https://github.com/lilorox/go-rflink.git
Documentation: pkg.go.dev

# Functions

GetOptions reads the options from the environment and returns an Options struct.
NewPublisher return a Publisher according to the options specified.
NewSensorReader returns a SensorReader according to the options specified.
SensorDataFromMessage crafts a SensorData struct from a message read from RFLink.

# Structs

Options stores the options needed to communicate with RFLink and the message queue.
Publisher takes input from a SensorReader and publishes the SensorData that has been read in an MQTT topic.
SensorData represents one message received from RFLink.
SensorReader reads SensorData from the serial connection with RFLink.