Documentation ¶ Index ¶ type Reading func (Reading) Contracts() []entlite.Contract func (Reading) Fields() []entlite.Field func (Reading) Queries() []entlite.Query type Sensor func (Sensor) Contracts() []entlite.Contract func (Sensor) Fields() []entlite.Field func (Sensor) Queries() []entlite.Query Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Reading ¶ type Reading struct { entlite.Schema } Reading is a single measurement captured by a Sensor. func (Reading) Contracts ¶ func (Reading) Contracts() []entlite.Contract func (Reading) Fields ¶ func (Reading) Fields() []entlite.Field func (Reading) Queries ¶ func (Reading) Queries() []entlite.Query type Sensor ¶ type Sensor struct { entlite.Schema } Sensor is a physical device deployed in the field that emits Readings. func (Sensor) Contracts ¶ func (Sensor) Contracts() []entlite.Contract func (Sensor) Fields ¶ func (Sensor) Fields() []entlite.Field func (Sensor) Queries ¶ func (Sensor) Queries() []entlite.Query Source Files ¶ View all Source files generate.goreading.gosensor.go Click to show internal directories. Click to hide internal directories.