fix(pkg/sensor): reduce interface functions for better error handling
This commit is contained in:
@ -19,6 +19,7 @@ type Sensor struct {
|
||||
SensorModel SensorModel `json:"sensor_model" xml:"sensor_model"`
|
||||
SensorEnabled bool `json:"sensor_enabled" xml:"sensor_enabled"`
|
||||
SensorLastContact *time.Time `json:"sensor_last_contact" xml:"sensor_last_contact"`
|
||||
TickDuration string `json:"sensor_tick_duration" xml:"sensor_tick_duration"`
|
||||
DeviceID string `json:"device_id" xml:"device_id"`
|
||||
CreationDate time.Time `json:"creation_date" xml:"creation_date"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user