http

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(
	ctx context.Context,
	httpClient *http.Client,
	method, url string,
	headers map[string]string,
	requestBody io.Reader) ([]byte, error)

func NewClient added in v0.6.0

func NewClient(rootCAs *x509.CertPool, certs ...tls.Certificate) (*http.Client, error)

NewClient creates an *http.Client that clones http.DefaultTransport settings and applies the given TLS configuration. This avoids duplicating transport setup across provider, auth, and crypto packages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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