clients

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TLSConfigWithServerName

func TLSConfigWithServerName(newServerName string, template *tls.Config) *tls.Config

Types

type BackendFactory

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

func NewBackendFactory

func NewBackendFactory(c config.Config) *BackendFactory

func (BackendFactory) NewClient

func (f BackendFactory) NewClient(route *models.Route) *http.Client

type FactoryRoundTripper

type FactoryRoundTripper struct {
	Template *http.Transport
}

func (*FactoryRoundTripper) New

func (t *FactoryRoundTripper) New(expectedServerName string) http.RoundTripper

Jump to

Keyboard shortcuts

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