leveldb

package
v0.0.0-...-571f8a4 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2015 License: GPL-3.0, AGPL-3.0 Imports: 7 Imported by: 2

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