badger

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	scommons.StorageCommons
	// contains filtered or unexported fields
}

func NewStorage

func NewStorage(path string) (*Storage, error)

func (*Storage) BatchPut

func (s *Storage) BatchPut(entries []*storage.Entry) error

func (*Storage) Close

func (s *Storage) Close() error

func (*Storage) Get

func (s *Storage) Get(key []byte) ([]byte, error)

func (*Storage) Iter

func (s *Storage) Iter(opts *storage.IterOptions) storage.Iterator

func (*Storage) IterReverse

func (s *Storage) IterReverse() storage.Iterator

func (*Storage) Put

func (s *Storage) Put(key, val []byte) error

Jump to

Keyboard shortcuts

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