Versions in this module Expand all Collapse all v0 v0.1.2 Nov 4, 2026 v0.1.0 Nov 3, 2026 Changes in this version + const TraceHeader + func New(cfg Config) (*gin.Engine, error) + func RegisterIgnoredRoute(group *gin.RouterGroup, method, relativePath string, ...) + func RegisterOpenAPI(r *gin.RouterGroup, modules ...OpenAPIModule) error + type Config struct + DisableAccessLog bool + LogRequestInfo bool + LogResponseInfo bool + LoggerName string + Middlewares []gin.HandlerFunc + Observe func(context.Context, RequestResult) + TrustedProxies []string + type OpenAPIModule struct + Name string + Title string + type RequestResult struct + Aborted bool + Bytes int + ClientIP string + Duration time.Duration + Method string + Panicked bool + Route string + Status int