leveldb

package
v2.0.0-...-383cd4d Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2019 License: GPL-3.0, AGPL-3.0 Imports: 7 Imported by: 4

Documentation

Overview

Package leveldb provides a key-value storage implementation of the recon prefix tree interface.

The Conflux leveldb API is versioned with gopkg. Use in your projects with:

import "gopkg.in/hockeypuck/conflux.v2/recon/leveldb"

Index

Constants

View Source
const COLLECTION_NAME = "conflux.recon"

Variables

This section is empty.

Functions

func ErrDuplicateElement

func ErrDuplicateElement(z *cf.Zp) error

func ErrElementNotFound

func ErrElementNotFound(z *cf.Zp) error

func New

func New(config recon.PTreeConfig, path string) (ptree recon.PrefixTree, err error)

Types

type Config

type Config struct {
	Path string `toml:"path"`
}

type Settings

type Settings struct {
	recon.Settings

	LevelDB Config `toml:"leveldb"`
}

Jump to

Keyboard shortcuts

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