balancedclient

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BalancedClient

type BalancedClient struct {
	// contains filtered or unexported fields
}

func New

func New(
	res roxyresolver.Resolver,
	interceptor atcclient.InterceptorFactory,
	dialer *net.Dialer,
	tlsConfig *tls.Config,
) (*BalancedClient, error)

func (*BalancedClient) Close

func (bc *BalancedClient) Close() error

func (*BalancedClient) Do

func (bc *BalancedClient) Do(req *http.Request) (*http.Response, error)

func (*BalancedClient) HTTPClient

func (bc *BalancedClient) HTTPClient() *http.Client

func (*BalancedClient) IsTLS

func (bc *BalancedClient) IsTLS() bool

func (*BalancedClient) Resolver

func (bc *BalancedClient) Resolver() roxyresolver.Resolver

Jump to

Keyboard shortcuts

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