localstore

package
v0.0.0-...-6c7ef32 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// ErrInvalidTxn is the error when commits or rollbacks in an invalid transaction.
	ErrInvalidTxn = errors.New("invalid transaction")
	// ErrCannotSetNilValue is the error when sets an empty value
	ErrCannotSetNilValue = errors.New("can not set nil value")
)

Functions

This section is empty.

Types

type Driver

type Driver struct {
	// engine.Driver is the engine driver for different local db engine.
	engine.Driver
}

Driver implements kv.Driver interface.

func (Driver) Open

func (d Driver) Open(schema string) (kv.Storage, error)

Open opens or creates a storage with specific format for a local engine Driver.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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