2020-07-26 17:09:05 +08:00
|
|
|
package tracespec
|
|
|
|
|
|
2021-02-26 16:20:47 +08:00
|
|
|
// SpanContext interface that represents a span context.
|
2020-07-26 17:09:05 +08:00
|
|
|
type SpanContext interface {
|
|
|
|
|
TraceId() string
|
|
|
|
|
SpanId() string
|
|
|
|
|
Visit(fn func(key, val string) bool)
|
|
|
|
|
}
|