Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DialContext ¶
DialContext resolves the address, validates ALL resolved IPs against the guard, then dials the first allowed IP directly (preventing DNS rebinding). Uses net.Dialer Control as defense-in-depth to re-check at syscall level.
func HTTPClient ¶
HTTPClient returns an *http.Client using the guarded transport.
func HTTPTransport ¶
HTTPTransport returns an *http.Transport that uses the guarded DialContext.
Types ¶
Click to show internal directories.
Click to hide internal directories.