Help us shape the future of Go! Take the 2026 Go Developer Survey

middleware

package
v0.101.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: Apache-2.0 Imports: 5 Imported by: 25

Documentation

Index

Constants

View Source
const LoggerKey = Key("logger")

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key string

type LogWrapper

type LogWrapper struct {
	UUIDGenerator uuidGenerator
}

func (*LogWrapper) LogWrap

func (l *LogWrapper) LogWrap(logger lager.Logger, wrappedHandler http.Handler) http.Handler

type MetricWrapper

type MetricWrapper struct {
	Name          string
	MetricsSender metricsSender
}

func (*MetricWrapper) Wrap

func (mw *MetricWrapper) Wrap(handle http.Handler) http.Handler

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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