feat(common): 重构 share 包并添加缓存扫描功能

- 移除了 sessionManager 结构体和相关方法
- 新增 cacheStore 结构体的 Scan 方法,用于扫描匹配模式的键
- 新增 cacheStore 结构体的 MGet 方法,用于批量获取多个键的值
- 优化了代码结构,提高了缓存操作的灵活性和效率
This commit is contained in:
2025-08-09 22:29:41 +08:00
parent 6d772325c3
commit 0016be7ad0
4 changed files with 333 additions and 66 deletions

1
.vscode/launch.json vendored
View File

@@ -14,6 +14,7 @@
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/login",
"console": "integratedTerminal"
},
{
"name": "Launch logic1",