chi

package module
v2.0.0-...-341fd6f Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTTPServerMiddlewareAll

func HTTPServerMiddlewareAll(ctx context.Context) func(http.Handler) http.Handler

Types

type Receiver

type Receiver struct{}

func (Receiver) GetPath

func (Receiver) GetPath(r *http.Request) string

GetPath extracts path from chi route for http MW for correct metric exposure

Jump to

Keyboard shortcuts

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