- Logger 中间件:生成 request_id(注入 X-Request-ID header),记录 method/path/status/latency/client_ip - Recovery 中间件:自定义 panic 恢复,记录 request 上下文和堆栈