schema

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 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 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

Jump to

Keyboard shortcuts

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