persistent

package
v0.0.0-...-10f83ba Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2014 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LevelDB

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

func NewLevelDB

func NewLevelDB(path string, restore bool) (*LevelDB, error)

func (*LevelDB) BatchPut

func (l *LevelDB) BatchPut(kvs []*epaxos.KVpair) error

func (*LevelDB) Close

func (l *LevelDB) Close() error

func (*LevelDB) Delete

func (l *LevelDB) Delete(key string) error

func (*LevelDB) Drop

func (l *LevelDB) Drop() error

func (*LevelDB) Get

func (l *LevelDB) Get(key string) ([]byte, error)

func (*LevelDB) Put

func (l *LevelDB) Put(key string, value []byte) error

Jump to

Keyboard shortcuts

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