mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-02-02 16:28:39 +08:00
9 lines
216 B
Go
9 lines
216 B
Go
package trace
|
|
|
|
import "net/http"
|
|
|
|
// TraceIdKey is the trace id header.
|
|
// https://www.w3.org/TR/trace-context/#trace-id
|
|
// May change it to trace-id afterward.
|
|
var TraceIdKey = http.CanonicalHeaderKey("x-trace-id")
|