Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Credentials struct { PrivateKey []byte `json:"privateKey,omitempty"` Certificate []byte `json:"certificate"` MQTTURL string `json:"mqttUrl"` MQTTPort string `json:"mqttPort"` }
Credentials for accessing the MQTT broker
type Device ¶
type Device struct { Brand string `json:"brand"` Model string `json:"model"` SerialNumber string `json:"serial"` StoreID string `json:"store,omitempty"` DeviceKey string `json:"deviceKey,omitempty"` }
Device details
type Enrollment ¶
type Enrollment struct { ID string `json:"id"` Device Device `json:"device"` Credentials Credentials `json:"credentials,omitempty"` Organization Organization `json:"organization"` Status Status `json:"status"` DeviceData string `json:"deviceData"` }
Enrollment details for a device
Click to show internal directories.
Click to hide internal directories.