httputils

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigurableTLSRoundTripper

func NewConfigurableTLSRoundTripper(
	cfg TLSHostsConfig,
) http.RoundTripper

Types

type TLSHostConfig added in v1.5.2

type TLSHostConfig struct {
	CAFile   string // Path of the PEM-encoded server trusted root certificates.
	Insecure bool   // Server should be accessed without verifying the certificate. For testing only.
}

type TLSHostsConfig

type TLSHostsConfig map[string]TLSHostConfig

Jump to

Keyboard shortcuts

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