Documentation ¶
Index ¶
Constants ¶
View Source
const (
XFF = "X-Forwarded-For"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct{}
func CreateConfig ¶
func CreateConfig() *Config
CreateConfig creates and initializes the plugin configuration.
type ConvertXFF ¶
type ConvertXFF struct {
// contains filtered or unexported fields
}
ConvertXFF holds the necessary components of a Traefik plugin
func (*ConvertXFF) ServeHTTP ¶
func (u *ConvertXFF) ServeHTTP(rw http.ResponseWriter, req *http.Request)
ServeHTTP removes the brackets from IPv6 addresses and rewrites ipv6 mapped ipv4 to real ipv4
Click to show internal directories.
Click to hide internal directories.