ctls

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultTransport added in v1.7.7

func DefaultTransport() *http.Transport

func DefaultTransportOpts added in v1.7.7

func DefaultTransportOpts(tr *http.Transport)

func MakeInsecureTransport added in v1.7.7

func MakeInsecureTransport() *http.Transport

func MakeMTlsTransport

func MakeMTlsTransport(caCert []byte, clientCert tls.Certificate) (*http.Transport, error)

func MakeMTlsTransportByFile

func MakeMTlsTransportByFile(caFile, certFile, keyFile string) (*http.Transport, error)

func MakeMTlsTransportByPem

func MakeMTlsTransportByPem(caCert, certData, keyData []byte) (*http.Transport, error)

func MakeTlsTransport

func MakeTlsTransport(caCert []byte) (*http.Transport, error)

func MakeTlsTransportByFile

func MakeTlsTransportByFile(caFile string) (*http.Transport, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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