package
0.0.0-20200129003244-9aa193b98a7a
Repository: https://github.com/xanderflood/fruit-pi-server.git
Documentation: pkg.go.dev

# Functions

EnsureDatabase builds out all the tables in order.
NewDBAgent create a new DBAgent.

# Constants

No description provided by the author
No description provided by the author

# Variables

ErrBadToken indicates that an invalid pagination token has been provided.

# Structs

Authorization describes an agent's authorizationto access database records.
DBAgent implements DB using a *sql.DB.
Device represents a single fruiting chamber device.
Model contains generic fields shared by all models.
Reading represents a single sensor reading from the chamber.
UUIDGenerator is a standard implementation of UUIDer.

# Interfaces

DB is the minimal database interface to back the appgo:generate counterfeiter .
UUIDer generates UUIDsgo:generate counterfeiter .