Documentation ¶
Overview ¶
Package idutils provides a set of helper functions to convert ids.
Functions in big_endian_converter.go help converting uint64 ids to TraceID and SpanID using big endian, and vice versa.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SpanIDToUInt64 ¶
SpanIDToUInt64 converts the pcommon.SpanID to uint64 representation.
func TraceIDToUInt64Pair ¶
TraceIDToUInt64Pair converts the pcommon.TraceID to a pair of uint64 representation.
func UInt64ToSpanID ¶
UInt64ToSpanID converts the uint64 representation of a SpanID to pcommon.SpanID.
func UInt64ToTraceID ¶
UInt64ToTraceID converts the pair of uint64 representation of a TraceID to pcommon.TraceID.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.