//
pkg.gl
Category
github.com/avadesian/go-seele
database
leveldb
package
1.3.0
Repository:
https://github.com/avadesian/go-seele.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
11
Dependents
0
Files
262 SLOC
#
Functions
NewLevelDB
NewLevelDB constructs and returns a LevelDB instance.
NewTestDatabase
NewTestDatabase creates a database instance under temp folder.
StartMetrics
StartMetrics create metrics and run a goroutine to collect.
#
Variables
ErrEmptyKey
ErrEmptyKey key is empty.
#
Structs
Batch
Batch implements batch for leveldb.
DBMetrics
DBMetrics defines the metrics used by leveldb.
LevelDB
LevelDB wraps the leveldb.