engine

package
v2.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: LGPL-3.0 Imports: 7 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