Files
go-zero/core/trace/constants.go
chenquan 7c842f22d0 Add traceId to the response headers (#919)
* Add traceId to the request headers

* Add test cases

* Update refactor code
2021-08-17 10:12:08 +08:00

7 lines
78 B
Go

package trace
const (
TraceIdKey = "X-Trace-ID"
spanIdKey = "X-Span-ID"
)