Versions in this module Expand all Collapse all v0 v0.0.7 Apr 9, 2024 v0.0.6 Mar 21, 2024 Changes in this version + var DefaultAuthorizer = &ssrfAuthorizer + var DefaultClient = Safe() + func NewClient(az Authorizer, opts ...Option) *http.Client + func NewRequestFilter(az Authorizer, next http.RoundTripper) http.RoundTripper + func NewResponseFilter(az Authorizer, next http.RoundTripper) http.RoundTripper + func Safe(opts ...Option) *http.Client + func UnSafe(opts ...Option) *http.Client + type Authorizer interface + IsNetworkAddressAuthorized func(network, address string) (bool, error) + IsRequestAuthorized func(req *http.Request) bool + IsResponseAuthorized func(res *http.Response) bool + type Option func(*options) + func WithDisableKeepAlives(value bool) Option + func WithDisableRequestFilter(value bool) Option + func WithDisableResponseFilter(value bool) Option + func WithFollowRedirect(value bool) Option + func WithMaxRedirectionCount(value int) Option + func WithTLSClientConfig(value *tls.Config) Option + func WithTLSDialer(dialer func(context.Context, string, string) (net.Conn, error)) Option + func WithTimeout(value time.Duration) Option