Documentation
¶
Index ¶
Constants ¶
View Source
const ContextTraceKey = ContextTraceType("ctx-trace-info")
ContextTraceKey is the key of TraceCtxt saved in a Golang context
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextTraceType ¶
type ContextTraceType string
ContextTraceType represents the type of golang Context key
type TraceCtxt ¶
type TraceCtxt struct {
RequestRecorder *xhttp.RequestRecorder
ResponseRecorder *xhttp.ResponseRecorder
FuncName string
AmzReqID string
}
TraceCtxt holds related tracing data of a http request.
Click to show internal directories.
Click to hide internal directories.