Documentation
¶
Overview ¶
Package stldb handles storing instances in the speedtestlogger app to persistent storage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddEntryRunner ¶
type AddEntryRunner interface {
// AddEntry adds a new entry to persistent storage.
AddEntry(t db.Transaction, entry *stl.Entry) error
}
type EntriesRunner ¶
type RemoveEntriesRunner ¶
type RemoveEntriesRunner interface {
// RemoveEntries removes entries within a given time range.
// startTime and endTime are seconds since Jan 1, 1970.
RemoveEntries(t db.Transaction, startTime, endTime int64) error
}
Directories
¶
| Path | Synopsis |
|---|---|
|
Package fixture provides test suites to test implementations of the datastore interfaces in the stldb package.
|
Package fixture provides test suites to test implementations of the datastore interfaces in the stldb package. |
|
Package for_sqlite provides a sqlite implementation of interfaces in the stldb package.
|
Package for_sqlite provides a sqlite implementation of interfaces in the stldb package. |
|
Package sqlite_setup sets up a sqlite database for the speedtestlogger app
|
Package sqlite_setup sets up a sqlite database for the speedtestlogger app |
Click to show internal directories.
Click to hide internal directories.