level

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrIterator = IteratorError(errors.New("iteration error"))

Functions

func New

func New(ctx context.Context, cfg *Config) (*ldb, error)

Types

type Config added in v0.3.0

type Config struct {
	Home             string // home directory
	BlockCache       int    // number of blocks to cache
	BlockheaderCache int    // number of blocks headers to cache
}

func NewConfig added in v0.3.0

func NewConfig(home string) *Config

type IteratorError

type IteratorError error

Jump to

Keyboard shortcuts

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