roundtrip

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FactoryImpl

type FactoryImpl struct {
	Template *http.Transport
}

func (*FactoryImpl) New

func (t *FactoryImpl) New(expectedServerName string) ProxyRoundTripper

type ProxyRoundTripper

type ProxyRoundTripper interface {
	http.RoundTripper
	CancelRequest(*http.Request)
}

func GetRoundTripper

func GetRoundTripper(servicdId string, roundTripperFactory RoundTripperFactory) ProxyRoundTripper

func NewJunoRoundTripper

func NewJunoRoundTripper(p ProxyRoundTripper) ProxyRoundTripper

func NewProxyRoundTripper

func NewProxyRoundTripper(
	roundTripperFactory RoundTripperFactory,
	routeServicesTransport http.RoundTripper,
	endpointTimeout time.Duration,
) ProxyRoundTripper

type RoundTripperFactory

type RoundTripperFactory interface {
	New(expectedServerName string) ProxyRoundTripper
}

Jump to

Keyboard shortcuts

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