schema

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sensor

type Sensor struct {
	entlite.Schema
}

Sensor is a physical device deployed in the field that emits SensorReadings.

func (Sensor) Contracts

func (Sensor) Contracts() []entlite.Contract

func (Sensor) Fields

func (Sensor) Fields() []entlite.Field

func (Sensor) Queries

func (Sensor) Queries() []entlite.Query

type SensorReading added in v0.0.6

type SensorReading struct {
	entlite.Schema
}

SensorReading is a single measurement captured by a Sensor.

func (SensorReading) Contracts added in v0.0.6

func (SensorReading) Contracts() []entlite.Contract

func (SensorReading) Fields added in v0.0.6

func (SensorReading) Fields() []entlite.Field

func (SensorReading) Queries added in v0.0.6

func (SensorReading) Queries() []entlite.Query

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL