Skip to content
/ mqtt Public

MQTT 3.1.1 and MQTT 5.0 packet types for Go

License

Notifications You must be signed in to change notification settings

htdvisser/mqtt

Repository files navigation

MQTT

Apache-2.0 License GitHub stars GitHub forks GitHub release Go reference

Package htdvisser.dev/mqtt implements MQTT 3.1.1 and MQTT 5.0 packet types as well as a reader and a writer.

Background

MQTT is a publish/subscribe messaging transport protocol often used in Internet of Things communication. The MQTT specifications are maintained by OASIS.

Goals and Non-Goals

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.

Install

go get -u htdvisser.dev/mqtt

Usage

See the examples on pkg.go.dev.

Contributing

See CONTRIBUTING.md and CODE_OF_CONDUCT.md.

License

Apache-2.0 © Hylke Visser

About

MQTT 3.1.1 and MQTT 5.0 packet types for Go

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages