Versions in this module Expand all Collapse all v1 v1.0.0 Apr 5, 2026 Changes in this version + func MapError(err error) error + func OptionAuthToken() func(route *fuego.BaseRoute) + func SetupRoutes(server *fuego.Server, routerList ...RouterContract) error + type DefaultController struct + func (ctrl DefaultController) HTTPError(statusCode int, err error) *fuego.HTTPError + func (ctrl DefaultController) HandleError(err error) error + func (ctrl DefaultController) ParamID(req *http.Request) (entities.HexID, error) + func (ctrl DefaultController) ParseHexID(rawValue string) (entities.HexID, error) + type HttpMiddleware = func(http.Handler) http.Handler + type RouterContract interface + GroupName func() string + Middlewares func() []HttpMiddleware + RegisterRoutes func(server *fuego.Server) error + type RouterMiddlewareExtender interface + AddMiddleware func(middleware HttpMiddleware) + type RouterWithSubRouter interface + SubRouters func() (subgroupPattern string, routers []RouterContract) + type Server struct + func NewServer(conf config.Config, jwtPublicKey *rsa.PublicKey, serverOptions ...ServerOption) (*Server, error) + func (s *Server) Run() error + type ServerOption func(*Server) + func WithPrivateRouters(routers ...RouterContract) ServerOption + func WithPublicRouters(routers ...RouterContract) ServerOption