package
0.0.0-20201128044825-fb21d0a8ad81
Repository: https://github.com/spidernest-go/mux.git
Documentation: pkg.go.dev
# Functions
BodyLimit returns a BodyLimit middleware.
BodyLimitWithConfig returns a BodyLimit middleware with config.
CORS returns a Cross-Origin Resource Sharing (CORS) middleware.
CORSWithConfig returns a CORS middleware with config.
DefaultSkipper returns false which processes the middleware.
JWT returns a JSON Web Token (JWT) auth middleware.
JWTWithConfig returns a JWT auth middleware with config.
Recover returns a middleware which recovers from panics anywhere in the chain and handles the control to the centralized HTTPErrorHandler.
RecoverWithConfig returns a Recover middleware with config.
# Constants
Algorithms.
# Variables
DefaultBodyLimitConfig is the default BodyLimit middleware config.
DefaultCORSConfig is the default CORS middleware config.
DefaultJWTConfig is the default JWT auth middleware config.
DefaultRecoverConfig is the default Recover middleware config.
Errors.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author