Documentation
¶
Overview ¶
Package database is for a local storage layer for the application
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDatabaseNotConnected = errors.New("database is not connected")
ErrDatabaseNotConnected is returned when the database is not connected
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
Connected bool
// contains filtered or unexported fields
}
DB is the database struct
func (*DB) GarbageCollection ¶
GarbageCollection will clean up some garbage in the database (reduces space, etc.)
Click to show internal directories.
Click to hide internal directories.