Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSafeClient ¶
NewSafeClient returns an *http.Client with a 30-second timeout. When allowPrivate is false, connections to private/internal IP addresses are blocked to prevent SSRF attacks. DNS resolution results are used directly for dialing to prevent DNS rebinding.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.