Documentation ¶
Overview ¶
Package db implements a database for storing the history of the state of the CX34
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
Database stores historical values of the heat pump's state.
func (*Database) HistorianService ¶
HistorianService returns an implementation of chiltrix.Historian.
func (*Database) ReadSnapshots ¶
ReadSnapshots reads a set of snapshots from the database based on a time range.
func (*Database) RestoreBackup ¶ added in v0.0.3
type Service ¶
type Service struct { chiltrix.UnimplementedHistorianServer // contains filtered or unexported fields }
Service implements chiltrix.HistorianServer and is backed by a Database object.
func (*Service) QueryStream ¶
func (s *Service) QueryStream(req *chiltrix.QueryStreamRequest, srv chiltrix.Historian_QueryStreamServer) error
QueryStream returns a stream of State values based on a query.
Click to show internal directories.
Click to hide internal directories.