Documentation ¶
Index ¶
- func DefaultTransport() *http.Transport
- func DefaultTransportOpts(tr *http.Transport)
- func MakeInsecureTransport() *http.Transport
- func MakeMTlsTransport(caCert []byte, clientCert tls.Certificate) (*http.Transport, error)
- func MakeMTlsTransportByFile(caFile, certFile, keyFile string) (*http.Transport, error)
- func MakeMTlsTransportByPem(caCert, certData, keyData []byte) (*http.Transport, error)
- func MakeTlsTransport(caCert []byte) (*http.Transport, error)
- func MakeTlsTransportByFile(caFile string) (*http.Transport, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultTransport ¶ added in v1.7.7
func DefaultTransportOpts ¶ added in v1.7.7
func MakeInsecureTransport ¶ added in v1.7.7
func MakeMTlsTransport ¶
func MakeMTlsTransportByFile ¶
func MakeMTlsTransportByPem ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.