package
2.0.0-alpha4+incompatible
Repository: https://github.com/aspring/traefik.git
Documentation: pkg.go.dev
# Functions
GetCanonizedHost retrieves the canonized host from the given context (previously stored in the request context by the middleware).
GetCNAMEFlatten return the flat name if it is present in the context.
New creates a new request host middleware.
WrapHandler Wraps a ServeHTTP with next to an alice.Constructor.
# Structs
RequestDecorator is the struct for the middleware that adds the CanonicalDomain of the request Host into a context for later use.
Resolver used for host resolver.