An open API service indexing awesome lists of open source software.

https://github.com/ww24/cloud-iot-mqtt

Google Cloud IoT Core MQTT example for golang.
https://github.com/ww24/cloud-iot-mqtt

Last synced: about 2 months ago
JSON representation

Google Cloud IoT Core MQTT example for golang.

Awesome Lists containing this project

README

        

# Cloud IoT MQTT example for golang

## References
- https://cloud.google.com/iot/docs/how-tos/mqtt-bridge
- https://cloud.google.com/iot/docs/how-tos/credentials/keys

## Usage
- `cp env.mk.sample env.mk` and fill variables.
- `openssl req -x509 -nodes -newkey rsa:2048 -keyout rsa_private.pem -days 1000000 -out rsa_cert.pem -subj "/CN=unused"`
- set up IoT Core device on [Google Cloud Console](https://console.cloud.google.com/iot/)
- `make dep`
- `make run`