trace.go 261 B

12345678910
  1. package tracespec
  2. import "context"
  3. type Trace interface {
  4. SpanContext
  5. Finish()
  6. Fork(ctx context.Context, serviceName, operationName string) (context.Context, Trace)
  7. Follow(ctx context.Context, serviceName, operationName string) (context.Context, Trace)
  8. }