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 + const UnDefStr + type KeyValueDB struct + func NewKeyValueDB(ctx context.Context, ev *iflog.IpfsLog, log *zap.Logger) (*KeyValueDB, error) + func (kv *KeyValueDB) Close() + func (kv *KeyValueDB) Delete(ctx context.Context, key string) error + func (kv *KeyValueDB) Flush(ctx context.Context) error + func (kv *KeyValueDB) Get(key string) string + func (kv *KeyValueDB) List() map[string]string + func (kv *KeyValueDB) Put(ctx context.Context, key, value string) error + type OperateType byte + const DeleteOperateType + const SetOperateType