http

package
v0.0.0-...-7b34d14 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureTls

func ConfigureTls(httpClient *http.Client, serverCert string, clientCert string, clientKey string) error

func ConfigureTlsWithoutServerVerification

func ConfigureTlsWithoutServerVerification(httpClient *http.Client, 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) 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