package
0.0.0-20221121043126-298dde518304
Repository: https://github.com/nitrictech/minio.git
Documentation: pkg.go.dev
# Functions
GetSourceIP retrieves the IP from the request headers and falls back to r.RemoteAddr when necessary.
GetSourceIPFromHeaders retrieves the IP from the X-Forwarded-For, X-Real-IP and RFC7239 Forwarded headers (in that order).
GetSourceScheme retrieves the scheme from the X-Forwarded-Proto and RFC7239 Forwarded headers (in that order).
NewForwarder creates an instance of Forwarder based on the provided list of configuration options.