package
0.0.0-20240205082507-13b120ade1d2
Repository: https://github.com/quarkey/iot.git
Documentation: pkg.go.dev
# Functions
ClearRegisteredMetrics clears all the registered metrics in the database.
GetControllerByID loads a specific controller from database by given ID.
GetControllersList returns a list of all available controllers, including those that are not currently active.
No description provided by the author
No description provided by the author
New initialize server and opens a database connection.
NewCollector creates a new instance of iotCollector with a database connection.
No description provided by the author
RegisterPrefinedMetrics registers predefined metrics into the database.
RetrieveDBMetricsToMap retrives stored metrics in the database into a map.
No description provided by the author
# 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
No description provided by the author
No description provided by the author
SwitchDefaultValues initial state.
system event such as start, stop etc.
ThresholdswitchDefaultValues initial state.
No description provided by the author
TimesSwitchDefaultValues initial state.
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Controller data structure.
Dataset ....
No description provided by the author
PreDefinedMetric.
A structure that holds Sensor data.
Sensor meta information.
Data JSON payload.
Server ....
No description provided by the author
A telemetry struct holds various telemetry components in memory.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author