package
2.3.1-pre-3+incompatible
Repository: https://github.com/euracresearch/browser.git
Documentation: pkg.go.dev
# Functions
Chain creates a new Middleware that applies a sequence of Middlewares, so that they execute in the given order when handling an http request.
Healthz is a simple health check endpoint, which runs the given health function.
SecureHeaders adds security-related headers to all responses.
XSRFProtect is a HTTP middlware adding XSRF/CSRF token protection for non-safe HTTP Methods.
# Constants
XSRFTokenPlaceholder should be used as the value for XSRF in rendered content.
# Type aliases
A Middleware is a func that wraps an http.Handler.