Headers is a list of explicit trusted header(s) to check.
UseLeftmostIP specifies to use the left-mostish IP from the trusted headers.
Note that this could be insecure when used with X-Forwarded-For header because some proxies like AWS ELB allow users to prepend their own header value before appending the trusted ones.
Generated using TypeDoc
MarshalJSON implements the [json.Marshaler] interface.