Versions in this module Expand all Collapse all v1 v1.1.0 Nov 7, 2026 Changes in this version + type RouteJSON struct + FullPath string + GuardNames []string + Method string + Module string + Path string + Public bool + func JSONRoutes(routes []Mounted) []RouteJSON v1.0.0 Nov 7, 2026 Changes in this version + func Mount(r fiber.Router, routes []Route, opt MountOptions) error + func MountController(r fiber.Router, c Controller, opt MountOptions) error + type Controller interface + Routes func() []Route + type ControllerFunc func() []Route + func (f ControllerFunc) Routes() []Route + type Doc struct + Deprecated bool + Description string + OperationID string + Params []ParamDoc + RequestBody any + Response any + Statuses []int + Summary string + Tags []string + type MountOptions struct + Guards []guard.Guard + Interceptors []interceptor.Interceptor + Module string + Prefix string + Registry *Registry + type Mounted struct + FullPath string + GuardNames []string + Module string + type ParamDoc struct + Description string + Example string + In string + Name string + Required bool + type Registry struct + func (reg *Registry) Add(m Mounted) + func (reg *Registry) All() []Mounted + func (reg *Registry) Table() string + func (reg *Registry) Unguarded() []Mounted + type Route struct + Doc Doc + Guards []guard.Guard + Handler fiber.Handler + Interceptors []interceptor.Interceptor + Method string + Middleware []fiber.Handler + Path string + Public bool + func Delete(path string, h fiber.Handler) Route + func Get(path string, h fiber.Handler) Route + func Head(path string, h fiber.Handler) Route + func New(method, path string, h fiber.Handler) Route + func Options(path string, h fiber.Handler) Route + func Patch(path string, h fiber.Handler) Route + func Post(path string, h fiber.Handler) Route + func Put(path string, h fiber.Handler) Route + func (r Route) Accepts(sample any) Route + func (r Route) AsPublic() Route + func (r Route) Deprecate() Route + func (r Route) Describe(s string) Route + func (r Route) Guard(g ...guard.Guard) Route + func (r Route) HeaderParam(name, description string) Route + func (r Route) ID(id string) Route + func (r Route) Intercept(i ...interceptor.Interceptor) Route + func (r Route) Param(name, description string) Route + func (r Route) QueryParam(name, description string) Route + func (r Route) Returns(sample any, statuses ...int) Route + func (r Route) Summary(s string) Route + func (r Route) Tag(t ...string) Route + func (r Route) Use(h ...fiber.Handler) Route