Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package tracecontext provides encoders and decoders for Stackdriver Trace contexts.
Index ¶
Constants ¶
      View Source
      
  
const (
	// Len represents the length of trace context.
	Len = 1 + 1 + traceIDLen + 1 + spanIDLen + 1 + optsLen
)
    Variables ¶
This section is empty.
Functions ¶
func Decode ¶
Decode decodes the src into a trace ID, span ID and options. If src doesn't contain a valid trace context, ok = false is returned.
Types ¶
This section is empty.
      
      Source Files
      ¶
    
- tracecontext.go
 
 Click to show internal directories. 
   Click to hide internal directories.