badgerdb

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

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
}

func New

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

func NewReadOnly added in v0.0.4

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

func (*Database) Close

func (db *Database) Close()

func (*Database) Update

func (db *Database) Update(fn func(dbpkg.Transaction) error) error

func (*Database) View

func (db *Database) View(fn func(dbpkg.Transaction) error) error

Jump to

Keyboard shortcuts

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