rocksdb

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: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func NewStorage

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

func (*Store) BatchPut

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

func (*Store) Close

func (s *Store) Close() error

func (*Store) Get

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

func (*Store) Iter

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

func (*Store) Put

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

Jump to

Keyboard shortcuts

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