Go to file
black1552 942eff81fb feat(pool): 添加获取所有在线连接ID的功能
- 实现了 GetAllConnIDs 方法来获取在线连接的ID列表
- 添加了内存缓存检查以提高性能
- 实现了从 BadgerDB 迭代获取所有连接记录的逻辑
- 添加了连接活跃状态过滤功能
- 实现了 JSON 反序列化连接信息的处理
- 添加了错误处理和日志记录机制
2026-02-27 10:15:02 +08:00
autoMigrate 第一次提交 2026-01-30 15:51:42 +08:00
baseGrpc 第一次提交 2026-01-30 15:51:42 +08:00
excel 第一次提交 2026-01-30 15:51:42 +08:00
log feat(log): 添加日志系统功能 2026-02-25 14:22:56 +08:00
mqtt/client 第一次提交 2026-01-30 15:51:42 +08:00
pool feat(pool): 添加获取所有在线连接ID的功能 2026-02-27 10:15:02 +08:00
server feat(pool): 修改NewBadgerPool函数接受数据库路径参数并移除GetAllConnIDs方法 2026-02-27 10:06:26 +08:00
task 第一次提交 2026-01-30 15:51:42 +08:00
tcp feat(pool): 修改NewBadgerPool函数接受数据库路径参数并移除GetAllConnIDs方法 2026-02-27 10:06:26 +08:00
utils feat(utils): 为 CURD 操作添加 HookHandler 支持 2026-02-13 10:59:28 +08:00
.gitignore 第一次提交 2026-01-30 15:51:42 +08:00
LICENSE 第一次提交 2026-01-30 15:51:42 +08:00
README.md 第一次提交 2026-01-30 15:51:42 +08:00
go.mod feat(pool): 添加基于BadgerDB的连接池实现 2026-02-27 09:47:23 +08:00
go.sum feat(pool): 添加基于BadgerDB的连接池实现 2026-02-27 09:47:23 +08:00

README.md

Copyright 2021 black1552

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.