- 实现了 GetAllConnIDs 方法来获取在线连接的ID列表 - 添加了内存缓存检查以提高性能 - 实现了从 BadgerDB 迭代获取所有连接记录的逻辑 - 添加了连接活跃状态过滤功能 - 实现了 JSON 反序列化连接信息的处理 - 添加了错误处理和日志记录机制 |
||
|---|---|---|
| autoMigrate | ||
| baseGrpc | ||
| excel | ||
| log | ||
| mqtt/client | ||
| pool | ||
| server | ||
| task | ||
| tcp | ||
| utils | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| go.mod | ||
| go.sum | ||
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.