Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrThingForbidden represents the error when thing cannot be authenticated ErrThingForbidden = errors.New("forbidden to authenticate thing") // ErrThingNotFound represents the error when the schema has a invalid format ErrThingNotFound = errors.New("thing not found on thing's service") // ErrThingExists is returned when trying to register an existing thing ErrThingExists = errors.New("thing is already registered") )
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { SensorID int `json:"sensorId"` Value interface{} `json:"value"` }
Data represents the thing's data
Click to show internal directories.
Click to hide internal directories.