package
Version:
v0.0.0-...-8691f5a
Opens a new window with list of versions in this module.
Published: May 5, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ParseAddrPtr parses an IP address string and returns a pointer to netip.Addr.
Returns nil if the string is empty or invalid.
RealIP returns the real client IP from the request.
It checks Cloudflare and proxy headers before falling back to the remote address.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.