Package
htdvisser.dev/mqtt
implements MQTT 3.1.1 and MQTT 5.0 packet types as well as a reader and a writer.
MQTT is a publish/subscribe messaging transport protocol often used in Internet of Things communication. The MQTT specifications are maintained by OASIS.
The goal of this library is to provide basic MQTT packet types, as well as implementations for reading and writing those packets. This library aims to implement version 3.1.1 and version 5.0 of the specification, with limited support for version 3.1.
This library does not -- and will not -- implement a client or server (broker), but it can be used by client or server implementations.
go get -u htdvisser.dev/mqtt
See the examples on pkg.go.dev.
See CONTRIBUTING.md and CODE_OF_CONDUCT.md.
Apache-2.0 © Hylke Visser