middleware

package
v0.0.0-...-d72b2cd Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: BSD-3-Clause Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessHttpHostMetricsHandler

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

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

func AccessLogWrapTransport

func AccessLogWrapTransport(client *http.Client)

AccessLogWrapTransport - provides a RoundTrip wrapper that applies controller controllers

func AccessWrapRoundTripper

func AccessWrapRoundTripper(rt http.RoundTripper) http.RoundTripper

AccessWrapRoundTripper - wrap a round tripper

func ControllerHttpHostMetricsHandler

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

ControllerHttpHostMetricsHandler - handler that applies controller controllers

func ControllerWrapRoundTripper

func ControllerWrapRoundTripper(rt http.RoundTripper) http.RoundTripper

ControllerWrapRoundTripper - provides a RoundTrip wrapper that applies controller controllers

func ControllerWrapTransport

func ControllerWrapTransport(client *http.Client)

ControllerWrapTransport - provides a RoundTrip wrapper that applies controller controllers

func SetAccessLogFn

func SetAccessLogFn(fn func(e *accessdata.Entry))

SetAccessLogFn - allows setting an application configured logging function

Types

This section is empty.

Jump to

Keyboard shortcuts

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