github.com/lingyao2333/mo-zero@v1.4.1/core/trace/vars.go (about) 1 package trace 2 3 import "net/http" 4 5 // TraceIdKey is the trace id header. 6 // https://www.w3.org/TR/trace-context/#trace-id 7 // May change it to trace-id afterwards. 8 var TraceIdKey = http.CanonicalHeaderKey("x-trace-id")