package
0.0.0-20211105144125-e9b145e8b5d4
Repository: https://github.com/pydio/minio-srv.git
Documentation: pkg.go.dev
# Functions
GetSourceIP retrieves the IP from the X-Forwarded-For, X-Real-IP and RFC7239 Forwarded headers (in that order), falls back to r.RemoteAddr when all else fails.
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.
TraceReqHandlerFunc logs request/response headers and body.