Documentation ¶
Overview ¶
Package hsts provides access to the Chromium HSTS preloaded list.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPreloaded ¶
IsPreloaded reports whether host appears in the HSTS preloaded list.
Types ¶
type Transport ¶
type Transport struct { // Base is the underlying http.RoundTripper to use or // http.DefaultTransport if nil. Base http.RoundTripper }
Transport is a http.RoundTripper that transparently upgrades insecure http requests to secure https requests for hosts that appear in the HSTS preloaded list.
Click to show internal directories.
Click to hide internal directories.