Documentation
¶
Index ¶
Constants ¶
View Source
const (
HeaderKeyTraceId = "X-Trace-ID"
)
Variables ¶
This section is empty.
Functions ¶
func CopyTraceInfo ¶
CopyTraceInfo from context
func Middleware ¶
Middleware create trace id if request header not set HeaderKeyTraceId and add trace id to context value, use GetTraceId to get.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.