This package determines the public IP used to connect to the first ingress load balancer, by the X-Forwarded-For header.
import publicsourceip "github.com/AccelByte/public-source-ip"publicIP := publicsourceip.PublicIP(&http.Request{Header: request.Request.Header})