boltstore

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BucketName = []byte("Books")

Functions

This section is empty.

Types

type Database

type Database struct {
	storer.BookStorer
	// contains filtered or unexported fields
}

func Open

func Open(path string) (*Database, error)

func (*Database) AddBooks

func (d *Database) AddBooks(books []*model.Book, partial bool) error

func (*Database) Close

func (d *Database) Close() error

func (*Database) GetBookById

func (d *Database) GetBookById(id string) (*model.Book, error)

Jump to

Keyboard shortcuts

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