engine

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine interface {
	kv.Store
	io.Closer
}

Engine defines the interface of K-V engine.

func NewLevelEngine

func NewLevelEngine(db *leveldb.DB) Engine

NewLevelEngine creates leveldb instance which implements the Engine interface.

Jump to

Keyboard shortcuts

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