gin

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandlerFunc

func HandlerFunc(cfg *config.EndpointConfig, skipPaths []string, next gin.HandlerFunc,
) gin.HandlerFunc

HandlerFunc task is to fill the "matched endpoint pattern" once we know it, so the global layer tracking can report it for metrics and traces.

func New

New wraps a handler factory adding some simple instrumentation to the generated handlers

Types

This section is empty.

Jump to

Keyboard shortcuts

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