database

package
v0.0.0-...-decf009 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2023 License: ISC Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = database.ErrNotFound

ErrNotFound denotes that the requested item was not found in the database.

Functions

func IsNotFoundError

func IsNotFoundError(err error) bool

IsNotFoundError checks whether an error is an ErrNotFound.

func MakeBucket

func MakeBucket(path []byte) model.DBBucket

MakeBucket creates a new Bucket using the given path of buckets.

func New

New returns wraps the given database as an instance of model.DBManager

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL