client

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 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 Factory

type Factory struct{}

func NewFactory

func NewFactory() *Factory

func (*Factory) NewClientForSelfSignedTLSServer

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

func (*Factory) NewClientOverUDS

func (f *Factory) 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