feat: pprof support.

This commit is contained in:
tx7do
2023-11-06 19:18:36 +08:00
parent 0c75b390be
commit 52d7c62d98
7 changed files with 199 additions and 159 deletions

View File

@@ -23,6 +23,7 @@ message Server {
CORS cors = 4; // 服务监听地址
Middleware middleware = 5; // 中间件
bool enable_swagger = 6; // 启用SwaggerUI
bool enable_pprof = 7; // 启用pprof
}
// gPRC