You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-zero/core/trace/tracespec/spancontext.go

9 lines
180 B
Go

4 years ago
package tracespec
// SpanContext interface that represents a span context.
4 years ago
type SpanContext interface {
TraceId() string
SpanId() string
Visit(fn func(key, val string) bool)
}