Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigResponse ¶
type ConfigResponse struct { // ssid // Required: true Ssid *string `json:"ssid"` }
ConfigResponse config response swagger:model ConfigResponse
func (*ConfigResponse) MarshalBinary ¶
func (m *ConfigResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigResponse) UnmarshalBinary ¶
func (m *ConfigResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorResponse ¶
type ErrorResponse struct { // error // Required: true Error *string `json:"error"` }
ErrorResponse error response swagger:model ErrorResponse
func (*ErrorResponse) MarshalBinary ¶
func (m *ErrorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorResponse) UnmarshalBinary ¶
func (m *ErrorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SensorData ¶
type SensorData struct { // delta time // Required: true DeltaTime *int64 `json:"deltaTime"` // device // Required: true Device *string `json:"device"` // dht22 // Required: true Dht22 *SensorDataDht22 `json:"dht22"` // stale // Required: true Stale *int64 `json:"stale"` }
SensorData sensor data swagger:model SensorData
func (*SensorData) MarshalBinary ¶
func (m *SensorData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SensorData) UnmarshalBinary ¶
func (m *SensorData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SensorDataDht22 ¶
type SensorDataDht22 struct { // heat index // Required: true HeatIndex *float64 `json:"heatIndex"` // humidity // Required: true Humidity *float64 `json:"humidity"` // temperature // Required: true Temperature *float64 `json:"temperature"` }
SensorDataDht22 sensor data dht22 swagger:model sensorDataDht22
func (*SensorDataDht22) MarshalBinary ¶
func (m *SensorDataDht22) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SensorDataDht22) UnmarshalBinary ¶
func (m *SensorDataDht22) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Click to show internal directories.
Click to hide internal directories.