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: 2 months 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-13T05:04:28.000Z (2 months ago)
- Last Synced: 2025-03-16T08:23:17.494Z (2 months ago)
- Topics: mqtt, mqtt-client
- Language: Go
- Homepage:
- Size: 359 KB
- Stars: 39
- Watchers: 4
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mqtt-go
[](https://pkg.go.dev/github.com/at-wat/mqtt-go)  [](https://codecov.io/gh/at-wat/mqtt-go) [](https://goreportcard.com/report/github.com/at-wat/mqtt-go) [](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).