redirect

package
v0.0.0-...-0dee4d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecureRedirectMiddleware

type SecureRedirectMiddleware struct {
	AllowedInsecurePaths map[string]struct{}
}

SecureRedirectMiddleware redirects the client to the identical URL served via HTTPS

func NewSecureRedirectMiddleware

func NewSecureRedirectMiddleware(allowedInsecurepaths ...string) SecureRedirectMiddleware

func (SecureRedirectMiddleware) MiddlewareFunc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL