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.
- Host: GitHub
- URL: https://github.com/ww24/cloud-iot-mqtt
- Owner: ww24
- Created: 2018-06-27T13:41:02.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-18T04:28:01.000Z (over 6 years ago)
- Last Synced: 2025-02-09T10:46:34.642Z (3 months ago)
- Language: Go
- Size: 570 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`