middlewares

package
v0.0.0-...-ceb351d Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContextKeyRequestID Key = "request_id"
	AttributeUrl            = "url"
	AttributeMethod         = "method"
	AttributeRequestID      = "request_id"
)
View Source
const (
	ResponseKey = "Response"
)

Variables

This section is empty.

Functions

func Serialize

func Serialize(ctx *gin.Context)

func SetLoggerContext

func SetLoggerContext(ctx *gin.Context)

func SetRequestContext

func SetRequestContext(ctx *gin.Context)

Set application context in middleware

Types

type Key

type Key string

Jump to

Keyboard shortcuts

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