Versions in this module Expand all Collapse all v0 v0.0.2 Oct 27, 2022 Changes in this version + type Database struct + func New(file string, cache int, handles int, readonly bool) (*Database, error) + func NewCustom(file string, namespace string, customize func(options *opt.Options)) (*Database, error) + func NewFromExistLevelDB(db *leveldb.DB) *Database + func WrapWithNamespace(db *Database, namespace string) *Database + func (db *Database) Close() error + func (db *Database) Delete(key []byte) error + func (db *Database) Get(key []byte) ([]byte, error) + func (db *Database) Has(key []byte) (bool, error) + func (db *Database) NewBatch() database.Batcher + func (db *Database) Set(key []byte, value []byte) error