github.com/blend/go-sdk@v1.20220411.3/tracing/interfaces.go (about)

     1  /*
     2  
     3  Copyright (c) 2022 - Present. Blend Labs, Inc. All rights reserved
     4  Use of this source code is governed by a MIT license that can be found in the LICENSE file.
     5  
     6  */
     7  
     8  package tracing
     9  
    10  // SpanIDProvider is a tracing span context that has a SpanID getter
    11  type SpanIDProvider interface {
    12  	SpanID() uint64
    13  }
    14  
    15  // TraceIDProvider is a tracing span context that has a TraceID getter
    16  type TraceIDProvider interface {
    17  	TraceID() uint64
    18  }