build: scaffold axum api server entry
This commit is contained in:
@@ -14,17 +14,22 @@
|
||||
|
||||
## 2. 当前阶段说明
|
||||
|
||||
当前提交仅完成目录占位,不提前进入具体实现。
|
||||
当前目录已经完成以下基础骨架:
|
||||
|
||||
1. 目录占位
|
||||
2. `Cargo.toml`
|
||||
3. `src/main.rs`
|
||||
4. `src/app.rs`
|
||||
5. `src/state.rs`
|
||||
|
||||
后续与本 package 直接相关的任务包括:
|
||||
|
||||
1. 搭建 `main.rs` / `Router` / `with_state`
|
||||
2. 接入统一配置加载
|
||||
3. 接入统一日志与 tracing
|
||||
4. 接入 `request_id`
|
||||
5. 接入统一错误处理中间件
|
||||
6. 接入 response envelope
|
||||
7. 接入 `/healthz`
|
||||
1. 接入统一配置加载
|
||||
2. 接入统一日志与 tracing
|
||||
3. 接入 `request_id`
|
||||
4. 接入统一错误处理中间件
|
||||
5. 接入 response envelope
|
||||
6. 接入 `/healthz`
|
||||
|
||||
## 3. 边界约束
|
||||
|
||||
|
||||
Reference in New Issue
Block a user