Skip to content
This repository was archived by the owner on Feb 28, 2026. It is now read-only.

htdvisser/mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages