middleware

package
v0.0.0-...-600e7d2 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: BSD-3-Clause Imports: 11 Imported by: 0

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 ActuatorHandler

func ActuatorHandler(w http.ResponseWriter, r *http.Request)

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