package
0.0.0-20181028200458-699b668acbbd
Repository: https://github.com/gernest/utron.git
Documentation: pkg.go.dev

# Functions

NewRouter returns a new Router, if app is passed then it is used.

# Constants

CtxMiddleware is the middlewate with signature func(*base.Context)error.
PlainMiddleware is the middleware with signature func(http.Handler)http.Handler.

# Variables

ErrRouteStringFormat is returned when the route string is of the wrong format.

# Structs

Middleware is the utron middleware.
Options additional settings for the router.
Router registers routes and handlers.

# Type aliases

MiddlewareType is the kind of middleware.