Versions in this module Expand all Collapse all v0 v0.0.2 Jul 1, 2026 v0.0.1 Jun 26, 2026 Changes in this version + func New(ctx context.Context, next http.Handler, config *Config, name string) (http.Handler, error) + type Config struct + Redirects []Redirect + func CreateConfig() *Config + type DynamicRedirects struct + func (dynamicRedirects *DynamicRedirects) ServeHTTP(rw http.ResponseWriter, req *http.Request) + type Redirect struct + AuthenticatedCookie string + AuthenticatedTarget string + DefaultTarget string + LocaleCookie string + LocaleTargets map[string]string + PreserveQueryString string + SourceURL string + StatusCode int + type RuntimeRedirect struct + AuthenticatedCookie string + AuthenticatedTarget string + DefaultTarget string + LocaleCookie string + LocaleTargets map[string]string + PreserveQueryString string + StatusCode int + type Target struct + PreserveQueryString string + StatusCode int + URL string