package
1.3.7
Repository: https://github.com/nigel2392/mux.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

Check if the request.Host is in the allowed hosts list.
Set the cache headers for the response.
GZIP compresses the response using gzip compression.
Set the cache headers for the response.
Recoverer recovers from panics and logs the error, if the logger was set.
X-Frame-Options is a header that can be used to indicate whether or not a browser should be allowed to render a page in a <frame>, <iframe> or <object>.

# Constants

XFrameAllow is a special case, and it should not be used.
XFrameDeny is the most restrictive option, and it tells the browser to not display the content in an iframe.
XFrameSame is the default value for XFrameOptions.

# Variables

No description provided by the author

# Structs

No description provided by the author

# Type aliases

XFrameOption is the type for the XFrameOptions middleware.