From ec1d2902065690e6d98723ab28ab95436dd72c17 Mon Sep 17 00:00:00 2001 From: AI Engineer Date: Sun, 10 May 2026 12:44:34 +0800 Subject: [PATCH] docs: update module indexing for semantic ID and service refinement (by AI) --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b3dd2c9..d3ad5ca 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,8 @@ | **go/config** | v1.0.7 | 文件配置加载; 环境覆盖; 结构映射 | cast, convert, file | [./config/README.md](https://apigo.cc/go/config) | | **go/log** | v1.1.9 | 高性能 Meta 驱动日志; JSON 数组序列化; 脱敏; 独立可视化工具 (logv) | cast, config, shell | [./log/README.md](https://apigo.cc/go/log) | | **go/http** | v1.0.10 | 高性能 HTTP 客户端; 泛型绑定; 自动透传; 流式 Multipart 上传 | cast, convert, file, log | [./http/README.md](https://apigo.cc/go/http) | -| **go/db** | v1.0.8 | 极简数据库抽象; 自动绑定; 读写分离; 自动 ID 生成 | cast, config, convert, crypto, id, log, rand, safe, shell | [./db/README.md](https://apigo.cc/go/db) | -| **go/redis** | v1.0.5 | 高性能 Redis 客户端; 分布式 ID; 发布订阅 | cast, config, crypto, id, log, safe | [./redis/README.md](https://apigo.cc/go/redis) | +| **go/db** | v1.0.10 | 极简数据库抽象; 自动绑定; 读写分离; 自动 ID 生成 | cast, config, convert, crypto, id, log, rand, safe, shell | [./db/README.md](https://apigo.cc/go/db) | +| **go/redis** | v1.0.8 | 高性能 Redis 客户端; 分布式 ID; 发布订阅 | cast, config, crypto, id, log, safe | [./redis/README.md](https://apigo.cc/go/redis) | | **go/discover** | v1.0.9 | 服务发现与负载均衡; 自动透传; H2C/WS 支持 | cast, config, http, log, redis | [./service/README.md](https://apigo.cc/go/discover) | | **go/service** | v1.0.3 | 核心微服务框架; 自动参数注入; 路由反射; WebSocket/静态文件/代理支持 | cast, config, discover, http, id, log, redis | [./service/README.md](https://apigo.cc/go/service) | | **go/watch** | v1.1.1 | 高性能、AI 友好的文件监听库; 递归监听; 灵活过滤 | file, timer | [./watch/README.md](https://apigo.cc/go/watch) | @@ -31,8 +31,9 @@ - **API**: - **核心注册**: Register, Restful, RegisterWebsocket - **生命周期**: Start, AsyncStart, Stop, Wait, CheckCmd, AddCmd + - **组件**: IDMaker (语义化分布式 ID 生成) - **插件管理**: Static, Rewrite, Proxy, SetAuthChecker, SetInFilter, SetOutFilter - - **工具**: MakeId, MakeIdForMysql, MakeIdForPostgreSQL, VerifyStruct + - **工具**: MakeIDForMysql, MakeIDForPostgreSQL, VerifyStruct - **对象**: Request, Response, Result, CodeResult ### api (第三方 API 调度引擎) @@ -112,8 +113,8 @@ - **API**: Hex, HexToString, UnHex, UnHexFromString, Base64, Base64ToString, UnBase64, UnBase64FromString, UrlBase64, UrlBase64ToString, UnUrlBase64, UnUrlBase64FromString, UrlEncode, UnUrlEncode, HtmlEscape, HtmlUnescape, Utf8Valid, SortJoin, NewIntEncoder, EncodeInt, AppendInt, DecodeInt, FillInt, ExchangeInt, HashInt ### id (分布式与数据库ID) -- **意图**: 生成唯一标识符,包含针对 MySQL/PostgreSQL 的写入性能优化。 -- **API**: NewIDMaker, MakeID, Get, GetForMysql, GetForPostgreSQL +- **意图**: 生成唯一标识符,包含针对 MySQL/PostgreSQL 的写入性能优化,支持语义化并发规模配置。 +- **API**: NewIDMaker, Get8Bytes4KPerSecond, Get9Bytes90KPerSecond, Get10Bytes14MPerSecond, Get11Bytes900MPerSecond, Get12BytesUltraPerSecond, GetForMysql, GetForPostgreSQL ### file (IO 与 内存文件系统) - **意图**: 高性能磁盘 IO、智能序列化及嵌入式资源管理。