Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/at-wat/mqtt-go
Yet another Go MQTT 3.1.1 client library: Go-ish interface, extensible and thread-safe (experimental stage; the API may change in future release)
https://github.com/at-wat/mqtt-go
mqtt mqtt-client
Last synced: 10 days ago
JSON representation
Yet another Go MQTT 3.1.1 client library: Go-ish interface, extensible and thread-safe (experimental stage; the API may change in future release)
- Host: GitHub
- URL: https://github.com/at-wat/mqtt-go
- Owner: at-wat
- License: apache-2.0
- Created: 2019-12-21T10:58:13.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-07T02:48:03.000Z (30 days ago)
- Last Synced: 2024-10-14T12:34:21.680Z (23 days ago)
- Topics: mqtt, mqtt-client
- Language: Go
- Homepage:
- Size: 354 KB
- Stars: 35
- Watchers: 4
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mqtt-go
[![Go Reference](https://pkg.go.dev/badge/github.com/at-wat/mqtt-go.svg)](https://pkg.go.dev/github.com/at-wat/mqtt-go) ![ci](https://github.com/at-wat/mqtt-go/workflows/ci/badge.svg) [![codecov](https://codecov.io/gh/at-wat/mqtt-go/branch/master/graph/badge.svg)](https://codecov.io/gh/at-wat/mqtt-go) [![Go Report Card](https://goreportcard.com/badge/github.com/at-wat/mqtt-go)](https://goreportcard.com/report/github.com/at-wat/mqtt-go) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
## Yet another Go MQTT 3.1.1 client library
- Go-ish interface
> Fully context controlled and mockable interface.
- Extensible
> Easy to implement a wrapper with unified interface. e.g. AWS IoT WebSocket dialer with automatic presign URL updater is available: [AWS IoT Device SDK for Go](https://github.com/seqsense/aws-iot-device-sdk-go)
- Thread-safe
> All functions and structs are safe to be used from multiple goroutines.## Migration guide
- [v0.14.0](MIGRATION.md#v0140)
- [v0.12.0](MIGRATION.md#v0120)## Examples
- [MQTTs with client certificate](examples/mqtts-client-cert)
- [WebSockets with presigned URL](examples/wss-presign-url)## Reference
- [MQTT Version 3.1.1 Plus Errata 01](http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/mqtt-v3.1.1.html)
## License
This package is licensed under [Apache License Version 2.0](./LICENSE).