Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct {
UID string `storm:"id" json:"uid"`
Hardware string `json:"hardware"`
Version string `json:"version"`
ProductUID string `json:"product_uid"`
DeviceIdentity map[string]string `json:"device_identity"`
DeviceAttributes map[string]string `json:"device_attributes"`
Status string `json:"status"`
LastSeen time.Time `json:"last_seen"`
}
type Report ¶
type Report struct {
ID int `storm:"id,increment" json:"id"`
Device string `storm:"index" json:"device"`
Rollout int `storm:"index" json:"rollout"`
Status string `json:"status"`
IsError bool `json:"error"`
Message string `json:"message"`
Timestamp time.Time `json:"timestamp"`
Virtual bool `json:"virtual"`
}
Click to show internal directories.
Click to hide internal directories.