Documentation ¶
Overview ¶
Package normalizedpayload implements functionality for parsing and validating normalized payload.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Air ¶
type Air struct { Temperature *float64 RelativeHumidity *float64 Pressure *float64 CO2 *float64 LightIntensity *float64 }
Air is an air measurement.
type Measurement ¶
Measurement is a measurement.
type ParsedMeasurement ¶
type ParsedMeasurement struct { Measurement // ValidationErrors contains any errors that occurred during field validation. ValidationErrors []error // Valid only contains the valid fields, for which there were no validation errors. Valid *structpb.Struct }
ParsedMeasurement is the result of parsing measurements with Parse.
Click to show internal directories.
Click to hide internal directories.