middleware

package
v0.0.0-...-3ac24dd Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HttpHostMetricsHandler

func HttpHostMetricsHandler(appHandler http.Handler, msg string) http.Handler

HttpHostMetricsHandler - http handler that captures metrics about an ingress request, also logs an access entry

func SetLogFn

func SetLogFn(fn func(e *data.Entry))

SetLogFn - allows setting an application configured logging function

func WrapRoundTripper

func WrapRoundTripper(rt http.RoundTripper) http.RoundTripper

WrapRoundTripper - wrap a round tripper

func WrapTransport

func WrapTransport(client *http.Client)

WrapTransport - provides a RoundTrip wrapper that applies controller controllers

Types

This section is empty.

Jump to

Keyboard shortcuts

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