Documentation ¶
Overview ¶
Package storage implements a set of functions to interact with the database.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDatabaseNotFound = errors.New("database not found")
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage handles all operations related to the database.
func Open ¶
Open a bolt database on current directory in given path. It is the caller's responsibility to close it.
func (*Storage) CreatePlayback ¶
CreatePlayback creates a playback callback data.
func (*Storage) RemovePlayback ¶
RemovePlayback removes a playback callback entry by id.
Click to show internal directories.
Click to hide internal directories.