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 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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