httpclientfactory

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPClientFactory

type HTTPClientFactory struct{}

func New

func New() *HTTPClientFactory

func (*HTTPClientFactory) NewClientForSelfSignedTLSServer

func (f *HTTPClientFactory) NewClientForSelfSignedTLSServer(certificatePEM []byte) (HttpClient, error)

func (*HTTPClientFactory) NewClientOverUDS added in v0.4.0

func (f *HTTPClientFactory) NewClientOverUDS(socketPath string) HttpClient

type HttpClient

type HttpClient interface {
	Do(request *http.Request) (*http.Response, error)
	CloseIdleConnections()
}

Jump to

Keyboard shortcuts

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