Documentation ¶
Index ¶
- type Database
- func (db *Database) Close(context.Context) error
- func (db *Database) Create(_ context.Context, e database.Entry) error
- func (db *Database) Lookup(_ context.Context, slug string) (e database.Entry, err error)
- func (db *Database) Ping(context.Context) error
- func (db *Database) Remove(_ context.Context, slug string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
Database is a wrapper around a badger database, providing high level functions to act a kipp entry database.
Click to show internal directories.
Click to hide internal directories.