Security-first client IP extraction for Go net/http with trusted proxy validation, configurable header priority, and optional Prometheus metrics.
go golang security ip-address reverse-proxy client-ip net-http x-forwarded-for x-real-ip rfc7239 ip-extraction trusted-proxy forwarded-header
-
Updated
May 29, 2026 - Go