Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPSOnly ¶ added in v0.10.2
HTTPSOnly redirects all http requests to https. In case no Host header is provided, 400 Bad Request will be returned without calling the actual handler.
Note: it causes 1 (one) allocation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.