modulepackage
0.0.0-20230423225757-7fc79eb2c3c4
Repository: https://github.com/mtraver/iotcore.git
Documentation: pkg.go.dev
# README
Google Cloud IoT Core over MQTT in Go
Package iotcore eases interaction with Google Cloud IoT Core over MQTT. It handles TLS configuration and authentication. It also makes it easy to construct the fully-qualified MQTT topics that Cloud IoT Core uses for configuration, telemetry, state, and commands.
# Functions
CacheJWT caches the JWTs created when connecting to the MQTT broker.
DeviceIDFromCert gets the Common Name from an X.509 cert, which for the purposes of this package is considered to be the device ID.
JWTTTL sets the TLL of JWTs created when connecting to the MQTT broker.
PersistentlyCacheJWT caches to disk the JWTs created when connecting to the MQTT broker.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Device represents a Google Cloud IoT Core device.
MQTTBroker represents an MQTT server.