Documentation ¶
Index ¶
- func BackendFactory(bf proxy.BackendFactory) proxy.BackendFactory
- func GlobalRunServer(_ logging.Logger, next luragin.RunServerFunc) luragin.RunServerFunc
- func HTTPRequestExecutorFromConfig(clientFactory transport.HTTPClientFactory, cfg *luraconfig.Backend) transport.HTTPRequestExecutor
- func InstrumentedHTTPClientFactory(clientFactory transport.HTTPClientFactory, cfg *luraconfig.Backend) transport.HTTPClientFactory
- func ProxyFactory(pf proxy.Factory) proxy.FactoryFunc
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 GlobalRunServer ¶
func GlobalRunServer(_ logging.Logger, next luragin.RunServerFunc) luragin.RunServerFunc
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.
Click to show internal directories.
Click to hide internal directories.