Documentation ¶
Overview ¶
pubsub converts a Pub/Sub event or state into a new Firestore and BigQuery database entry.
The Firestore schema will be something like:
devices collection
{device_id} document telemetry collection {timestamp} document ec.a ec.b ph.a ph.b tank.a tank.b temp.indoor temp.probe humidity pressure
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandlePubSub ¶
HandlePubSub consumes a Pub/Sub message and insert those values into the Firestore and BigQuery database.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.