Versions in this module Expand all Collapse all v1 v1.0.0 Apr 27, 2026 Changes in this version + type Adapter interface + RegisterRoute func(method, path string, handler HandlerFunc) error + ServeHTTP func(req *http.Request) (*http.Response, error) + Start func(addr string) error + Stop func(ctx context.Context) error + func NewAdapter(opts ...AdapterOption) Adapter + type AdapterOption func(*adapterOptions) + func WithTracerProvider(tp trace.TracerProvider) AdapterOption + type Context interface + Body func() []byte + Context func() context.Context + Header func(key string) string + IP func() string + JSON func(body any) error + Locals func(key string, value ...any) any + Method func() string + OriginalURL func() string + Param func(key string) string + Path func() string + Query func(key string) string + Send func(body []byte) error + SetHeader func(key, value string) + Status func(code int) + type ErrorHandlerInfo struct + Controller string + ErrorType string + Handler interface{} + MethodName string + type ErrorHandlerRegistry struct + func GlobalErrorHandlerRegistry() *ErrorHandlerRegistry + func (r *ErrorHandlerRegistry) GetErrorHandlersForHandler(handlerName string) ([]ErrorHandlerInfo, bool) + func (r *ErrorHandlerRegistry) HasGeneratedErrorHandlers() bool + func (r *ErrorHandlerRegistry) RegisterGeneratedErrorHandlers(handlers ...ErrorHandlerInfo) error + type HandlerFunc func(Context) error + type RouteInfo struct + Controller string + Guards []string + Handler interface{} + HandlerName string + Interceptors []string + Method string + Path string + type RouteRegistry struct + func GlobalRouteRegistry() *RouteRegistry + func (r *RouteRegistry) AllControllersHaveRoutes() bool + func (r *RouteRegistry) GetGeneratedRoutes(controller string) []RouteInfo + func (r *RouteRegistry) GetRoutesForController(controller string) ([]RouteInfo, bool) + func (r *RouteRegistry) HasGeneratedRoutes(controller string) bool + func (r *RouteRegistry) RegisterGeneratedRoutes(controller string, routes ...RouteInfo) error