models

package
v0.0.0-...-75720aa Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cycle

type Cycle struct {
	CycleId   int        `db:"cycle_id"`
	PumpId    int        `db:"pump_id"`
	StartTime time.Time  `db:"start_time"`
	EndTime   *time.Time `db:"end_time"`
	Notified  bool       `db:"notified"`
}

type CycleReport

type CycleReport struct {
	Cycle
	Name string
}

type Pump

type Pump struct {
	PumpId int     `db:"pump_id"`
	Name   string  `db:"name"`
	Pin    pio.Pin `db:"pin"`
}

Jump to

Keyboard shortcuts

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