Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metric ¶
type Metric struct { // AccountID is a unique UUID identifying the account AccountID string `json:"account_id"` // UserID is a unique ID identityfing the user // activity UserID string `json:"user_id"` // Timestamp is a time as recorded by the device Timestamp time.Time `json:"timestamp"` }
Metric is a metric send by the iot device every time user logs into it
Click to show internal directories.
Click to hide internal directories.