clients

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 8 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, followRedirect bool) *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