httputil

package
v1.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 29, 2024 License: UPL-1.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHTTPClientWithCABundle

func GetHTTPClientWithCABundle(rootCA *x509.CertPool) *retryablehttp.Client

GetHTTPClientWithCABundle returns a retryable HTTP client with the given cert pool

func ObfuscateRequestData

func ObfuscateRequestData(req *http.Request) *http.Request

ObfuscateRequestData removes the Authorization header data from the request before logging

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL