Expand description
KeyStore: keys.json 加载 + 热替换 + 明文验证
Structs§
Enums§
Functions§
- append_
key - 追加一条新 key 到 keys.json(atomic rename)
- list_
keys - 读取 keys.json 并返回所有记录快照(展示用;不暴露 hash 以外的敏感位)
- remove_
key - 按 id 删除一条 key(atomic rename);返回是否真的删掉了一条
- update_
key - 按 id 编辑一条 key(atomic rename);闭包返回
false代表未改动 → 跳过落盘