Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetContextData ¶
func SetContextData(key string, value interface{}) gin.HandlerFunc
SetContextData is used to store a new key/value pair exclusively for this context.
func TraceId ¶ added in v2.1.51
func TraceId() gin.HandlerFunc
TraceId is a middleware that injects a trace ID into the context of each request.
Types ¶
type RecoverInfo ¶ added in v2.1.23
Click to show internal directories.
Click to hide internal directories.