build: add api server config loader

This commit is contained in:
2026-04-21 01:03:21 +08:00
parent 4b549ce6a7
commit 9f4a51843b
5 changed files with 68 additions and 17 deletions

View File

@@ -21,15 +21,15 @@
3. `src/main.rs`
4. `src/app.rs`
5. `src/state.rs`
6. `src/config.rs`
后续与本 package 直接相关的任务包括:
1. 接入统一配置加载
2. 接入统一日志与 tracing
3. 接入 `request_id`
4. 接入统一错误处理中间件
5. 接入 response envelope
6. 接入 `/healthz`
1. 接入统一日志与 tracing
2. 接入 `request_id`
3. 接入统一错误处理中间件
4. 接入 response envelope
5. 接入 `/healthz`
## 3. 边界约束