leveldb

package
v0.0.0-...-ff5f600 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2016 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

Package leveldb provides a LevelDB-based implementation of store.Store.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Destroy

func Destroy(path string) error

Destroy removes all physical data of the database located at the given path.

func Open

func Open(path string, opts OpenOptions) (store.Store, error)

Open opens the database located at the given path.

Types

type OpenOptions

type OpenOptions struct {
	CreateIfMissing bool
	ErrorIfExists   bool
}

Jump to

Keyboard shortcuts

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