Documentation ¶
Index ¶
- func DatasetFieldAndShowCartList(ref string, db *sqlx.DB) ([]string, []bool, error)
- func GetLastDataSourcePointRaw(db *sqlx.DB, dataset string) (*json.RawMessage, int64, int64, error)
- func GetSpecificSensorDataPoint(datasource string) (dataset_id, column int64)
- func ResetConnectivity(db *sqlx.DB) error
- func SetOfflineByID(db *sqlx.DB, id int)
- func SetOnlineByID(db *sqlx.DB, id int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSpecificSensorDataPoint ¶
GetSpecificSensorDataPoint takes a datasource string and extracts dataset id and column. e.g. d0c1 will return dataset_id=0, column=1
func ResetConnectivity ¶
ResetConnectivity sets all dataset telemetry status to offline.
func SetOfflineByID ¶
SetOfflineByID updating dataset and setting telemetry 'offline'
func SetOnlineByID ¶
SetOnlineByID updating dataset and setting telemetry 'online'
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.