Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/htdvisser/mqtt
MQTT 3.1.1 and MQTT 5.0 packet types for Go
https://github.com/htdvisser/mqtt
Last synced: 11 days ago
JSON representation
MQTT 3.1.1 and MQTT 5.0 packet types for Go
- Host: GitHub
- URL: https://github.com/htdvisser/mqtt
- Owner: htdvisser
- License: apache-2.0
- Created: 2019-05-19T16:13:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-17T12:30:03.000Z (over 3 years ago)
- Last Synced: 2024-06-20T07:55:48.407Z (5 months ago)
- Language: Go
- Size: 74.2 KB
- Stars: 12
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# MQTT
[![Apache-2.0 License](https://img.shields.io/github/license/htdvisser/mqtt.svg?style=flat-square)](https://github.com/htdvisser/mqtt/blob/master/LICENSE) [![GitHub stars](https://img.shields.io/github/stars/htdvisser/mqtt.svg?logo=github&style=flat-square)](https://github.com/htdvisser/mqtt/stargazers) [![GitHub forks](https://img.shields.io/github/forks/htdvisser/mqtt.svg?logo=github&style=flat-square)](https://github.com/htdvisser/mqtt/network/members) [![GitHub release](https://img.shields.io/github/release/htdvisser/mqtt.svg?logo=github&style=flat-square)](https://github.com/htdvisser/mqtt/releases) [![Go reference](https://img.shields.io/badge/go-reference-blue?style=flat-square)](https://pkg.go.dev/htdvisser.dev/mqtt)
> 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](https://www.oasis-open.org/).
## 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](https://docs.oasis-open.org/mqtt/mqtt/v3.1.1/mqtt-v3.1.1.html) and version [5.0](https://docs.oasis-open.org/mqtt/mqtt/v5.0/mqtt-v5.0.html) 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
```sh
go get -u htdvisser.dev/mqtt
```## Usage
See the examples on [pkg.go.dev](https://pkg.go.dev/htdvisser.dev/mqtt).
## Contributing
See [CONTRIBUTING.md](.github/CONTRIBUTING.md) and [CODE_OF_CONDUCT.md](.github/CODE_OF_CONDUCT.md).
## License
[Apache-2.0](LICENSE) © Hylke Visser