badger

package
v0.0.0-...-b371d68 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Be

type Be struct {
	// contains filtered or unexported fields
}

func Open

func Open(name string, path string) (*Be, error)

func (*Be) Close

func (be *Be) Close()

func (*Be) Del

func (be *Be) Del(sub string, key string) error

func (*Be) Get

func (be *Be) Get(sub string, key string) ([]byte, bool, error)

func (*Be) Put

func (be *Be) Put(sub string, key string, val []byte) error

func (*Be) Range

func (be *Be) Range(sub string, start string, end string, lambda func(string, []byte) bool) error

Jump to

Keyboard shortcuts

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