leveldb

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: LGPL-3.0 Imports: 12 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(path string) (storage.Storage, error)

func NewMultiLdb added in v1.28.0

func NewMultiLdb(dirPath string, opt *opt.Options, sizeThreshold int64) (storage.Storage, error)

NewMultiLdb New a multi layer leveldb. When size of top layer leveldb exceeds sizeThreshold(Byte), it will add a new layer leveldb above the top layer.

func NewWithOpt added in v1.28.0

func NewWithOpt(path string, opt *opt.Options) (storage.Storage, error)

Types

type KeyValueEntry added in v1.28.0

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

Jump to

Keyboard shortcuts

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