Documentation ¶
Index ¶
Constants ¶
View Source
const (
MaxTraceId = 100000000
)
Variables ¶
This section is empty.
Functions ¶
func GenTraceId ¶
func GenTraceId() (traceId string)
func GetTraceId ¶
Types ¶
type MetadataTextMap ¶
metadataTextMap extends a metadata.MD to be an opentracing textmap
func (MetadataTextMap) ForeachKey ¶
func (m MetadataTextMap) ForeachKey(callback func(key, val string) error) error
ForeachKey is a opentracing.TextMapReader interface that extracts values.
func (MetadataTextMap) Set ¶
func (m MetadataTextMap) Set(key, val string)
Set is a opentracing.TextMapReader interface that extracts values.
Click to show internal directories.
Click to hide internal directories.