http

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Middleware

type Middleware = func(next http.Handler) http.Handler

Middleware wraps an http.Handler, returning a new http.Handler.

func InjectLogger

func InjectLogger(log logr.Logger) Middleware

InjectLogger is a Middleware to inject the given logr.Logger into the http.Request.Context.

Jump to

Keyboard shortcuts

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