leveldb

package
v0.1.3-0...-617a0de Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

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

Provider leveldb implementation of storage.Provider interface

func NewProvider

func NewProvider(dbPath string) *Provider

NewProvider instantiates Provider

func (*Provider) Close

func (p *Provider) Close() error

Close closes all stores created under this store provider

func (*Provider) CloseStore

func (p *Provider) CloseStore(name string) error

CloseStore closes level db store of given name

func (*Provider) OpenStore

func (p *Provider) OpenStore(name string) (storage.Store, error)

OpenStore opens and returns a store for given name space.

Jump to

Keyboard shortcuts

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