Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Datastore ¶
type Datastore interface { // Load queries the measurements since the given date and returns the // measurements as chronologically ordered. Load(source string, since time.Time) ([]Measurement, error) // Save persists the given measurement, or updates existing one with a new value. Save(m Measurement) error }
Datastore stores measurements.
Click to show internal directories.
Click to hide internal directories.