Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForceHTTPS ¶
ForceHTTPS is a middleware which redirects http:// requests to https://
func Hosts ¶
Hosts is a middleware which redirects from one host to another. (e.g. https://www.foo.bar -> https://foo.bar)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.