Versions in this module Expand all Collapse all v0 v0.2.0 Apr 23, 2024 v0.1.0 Nov 8, 2022 Changes in this version + type LevelKV struct + func NewLevelKVDB(ctx context.Context, ev *iflog.IpfsLog, log *zap.Logger) (*LevelKV, error) + func (kv *LevelKV) Close() + func (kv *LevelKV) Delete(ctx context.Context, key []byte) error + func (kv *LevelKV) Get(key []byte) ([]byte, error) + func (kv *LevelKV) GetSnapshot() (*leveldb.Snapshot, error) + func (kv *LevelKV) Has(key []byte) bool + func (kv *LevelKV) List() map[string]string + func (kv *LevelKV) NewIterator(slice *util.Range, ro *opt.ReadOptions) iterator.Iterator + func (kv *LevelKV) Put(ctx context.Context, key, value []byte) error + type OperateType byte + const DeleteOperateType + const SetOperateType