Documentation
¶
Overview ¶
Package database provides persistence for the Job Queue.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotFound indicates an inexistant key. ErrNotFound = errors.New("ID was not found in database") // ErrExistentialCrisis indicates something went *deeply* wrong. ErrExistentialCrisis = errors.New("i am in an existential crisis right now") )
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
Database deals with persistent data.
func Open ¶
Open opens a Database at the given filename <path>. The file does not need to exist prior to opening.
Click to show internal directories.
Click to hide internal directories.