Discover Packages
github.com/atdiar/xhttp
handlers
hsts
package
Version:
v0.0.0-...-891d2fd
Opens a new window with list of versions in this module.
Published: Feb 18, 2022
License: BSD-3-Clause, BSD-3-Clause
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
hsts
This package defines a hsts enabling request handler for strict transport security.
Dependencies
These are the only two external dependencies required as they are necessary
to take into account the execution context of a request-handling goroutine.
License
BSD 3-clause
Expand ▾
Collapse ▴
Documentation
¶
Package hsts is used to enforce a Strict Transport Security.
Handler is an object that enforces the use of Strict Transport Security.
New is a handler that enforces the use of Strict Transport Security.
func (Handler) Link ¶
Link registers a next request Handler to be called by ServeHTTP method.
It returns the result of the linking.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.