Home Download Docs Code Community
import "perkeep/pkg/sorted/leveldb"
Overview
Index

Overview ▾

Package leveldb provides an implementation of sorted.KeyValue on top of a single mutable database file on disk using github.com/syndtr/goleveldb.

Index

func NewStorage(file string) (sorted.KeyValue, error)

Package files

leveldb.go

func NewStorage

func NewStorage(file string) (sorted.KeyValue, error)

NewStorage is a convenience that calls newKeyValueFromJSONConfig with file as the leveldb storage directory.

Website layout inspired by memcached.
Content by the authors.