package
1.9.1
Repository: https://github.com/elastic/apm-data.git
Documentation: pkg.go.dev

# Functions

ClientAddrFromHeaders returns the IP address, and optionally port, of the client for an HTTP request from one of various headers in order: Forwarded, X-Real-IP, X-Forwarded-For.
SplitAddrPort splits a network address of the form "host", "host:port", "[host]:port" or "[host]:port" into a netip.Addr and port.