lura

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackendFactory

func BackendFactory(bf proxy.BackendFactory) proxy.BackendFactory

BackendFactory returns a backend factory that wraps the provided backend factory with the instrumentation [Middleware] based on the configuration options.

func HTTPRequestExecutorFromConfig

func HTTPRequestExecutorFromConfig(clientFactory transport.HTTPClientFactory,
	cfg *luraconfig.Backend,
) transport.HTTPRequestExecutor

HTTPRequestExecutorFromConfig creates an HTTPRequestExecutor to be used for the backend requests.

func InstrumentedHTTPClientFactory

func InstrumentedHTTPClientFactory(clientFactory transport.HTTPClientFactory,
	cfg *luraconfig.Backend,
) transport.HTTPClientFactory

func ProxyFactory

func ProxyFactory(pf proxy.Factory) proxy.FactoryFunc

ProxyFactory returns a proxy stage factory that wraps the provided proxy factory with the instrumentation [Middleware] based on the configuration options.

Types

This section is empty.

Jump to

Keyboard shortcuts

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