persistence

package
v0.0.0-...-67ede2e Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BMP280Sensor

type BMP280Sensor interface {
	CreateBMP280Measurement(sensor *sensors.BMP280Measurement) error
}

type DHT22Sensor

type DHT22Sensor interface {
	CreateDHT22Measurement(sensor *sensors.DHT22Measurement) error
}

type HDC1080Sensor

type HDC1080Sensor interface {
	CreateHDC1080Measurement(sensor *sensors.HDC1080Measurement) error
	GetHDC1080TemperatureMeasurements(mac string, startTime, endTime time.Time) (sensors.HDC1080TemperatureMeasurements, error)
	GetHDC1080HumidityMeasurements(mac string, startTime, endTime time.Time) (sensors.HDC1080HumidityMeasurements, error)
}

type Persistence

type Persistence interface {
	BMP280Sensor
	DHT22Sensor
	HDC1080Sensor
	Stats
	Voltage
}

type Stats

type Stats interface {
	CreateStatsMeasurement(sensor *sensors.StatsMeasurement) error
}

type Voltage

type Voltage interface {
	CreateVoltageMeasurement(sensor *sensors.VoltageMeasurement) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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