middleware

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const CorrelationHeader = "X-Correlation-ID"

Variables

View Source
var Middlewares = []Middleware{
	{
		Handle: Correlation,
	},
	{
		Handle: AccessLogging,
	},
}

Functions

func AccessLogging

func AccessLogging(c *gin.Context)

func Correlation

func Correlation(c *gin.Context)

Types

type Middleware

type Middleware struct {
	Handle gin.HandlerFunc
}

Jump to

Keyboard shortcuts

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