feat(http): 支持业务适配器批次接入原生路由
Verify / verify (push) Canceled after 0s

This commit is contained in:
zhangdeman committed 2026-11-28 01:23:33 -08:00
1 parent 53bb8b7b4d
commit 98c28520ef
5 files changed
+129 -7

No files matched your search

+1
View File
@@ -38,6 +38,7 @@ type Options struct {
Middleware []gin.HandlerFunc `json:"-" dc:"业务认证等全局中间件,启动时复制"`
ErrorMapper ErrorMapper `json:"-" dc:"业务错误到公开响应的转换函数"`
AccessLogger *zap.Logger `json:"-" dc:"访问日志实例,nil 表示关闭"`
NoRoute gin.HandlerFunc `json:"-" dc:"应用可选的未匹配路由处理器,未配置使用安全 404"`
}
// Server 拥有单个 Gin 引擎及 HTTP 生命周期,不拥有数据库和业务协程。
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.