httpclient

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(opts ...func(*http.Client)) *http.Client

Build builds a client session with our default parameters

func DefaultTransport

func DefaultTransport() *http.Transport

DefaultTransport sets an HTTP Transport

func SecureTLS

func SecureTLS(c *http.Client, rootCAs *x509.CertPool)

SecureTLS disables InsecureSkipVerify and adds a cert pool to an HTTP client's TLS config

func SecureTLSOption

func SecureTLSOption(rootCAs *x509.CertPool) func(*http.Client)

SecureTLSOption disables InsecureSkipVerify and adds a cert pool to an HTTP client's TLS config

func StandardizeProcessorName

func StandardizeProcessorName(name string) string

StandardizeProcessorName makes the processor name standard across vendors

Types

This section is empty.

Jump to

Keyboard shortcuts

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