Discover Packages
github.com/dsenske/traefik-middleware-redirect
package
module
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: May 4, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Traefik Middleware for Redirect
Middleware for Redirects with custom response code & cache control header.
Expand ▾
Collapse ▴
Documentation
¶
type Config struct {
RedirectCode int `json:"redirectCode,omitempty"`
RedirectURI string `json:"redirectUri,omitempty"`
ExpiringTime int `json:"expiringTime,omitempty"`
}
Config the plugin configuration.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.