Versions in this module Expand all Collapse all v0 v0.0.1 Sep 8, 2025 Changes in this version + var BadHostPortPairErrCode uint = 2 + var BadIPAddressErrCode uint = 3 + var BadNetworkTypeErrCode uint = 1 + var NotPublicIPAddressErrCode uint = 4 + func NewClient(opts Options) *http.Client + type Options struct + AllowedNetworkTypes []string + ForbiddenIPs []string + type SafeHTTPError struct + Err error + ErrCode uint + Text string + func (err *SafeHTTPError) Error() string + func (err *SafeHTTPError) Unwrap() error