http

package
v0.0.0-...-a4cc684 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureMTLS

func ConfigureMTLS(httpClient *http.Client, caCert string, clientCert string, clientKey string) error

Types

type Client

type Client interface {
	Do(req *nethttp.Request) (*nethttp.Response, error)
}

func ClientWithBaseURL

func ClientWithBaseURL(delegate Client, baseURL *url.URL, headers map[string]string) Client

type ClientFunc

type ClientFunc func(req *nethttp.Request) (*nethttp.Response, error)

func (ClientFunc) Do

Jump to

Keyboard shortcuts

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