# Packages
Package authenticator provides allows to authorize request
*/.
# Functions
CORS replies to request with cors header and handles preflight request it is enhancement to improve middleware usability instead of wrapping every handler.
GrantAccessFor returns Status Unauthorized if Identity is not set within request's context or user does not have required permission.
HSTS HTTP Strict Transport Security is an opt-in security enhancement that is specified by a web application through the use of a special response header.
LimitRequestBody limits the request body.
Logger wraps http.Handler with a logger middleware.
Metrics updates program counters.
RateLimit returns a new HTTP middleware that allows request per visitor (IP) up to rate r and permits bursts of at most b tokens.
Recover middleware recovers from panic.
WithContainer wraps http.Handler with a container middleware.
WithMetadata adds Metadata to requests context.
XSS sets xss response header types.
# Constants
No description provided by the author