MCPcopy Index your code
hub / github.com/cloudflare/cloudflared / String

Method String

tracing/identity.go:26–28  ·  view source on GitHub ↗

TODO: TUN-6604 Remove this. To reconstruct into Jaeger propagation format, convert tracingContext to tracing.Identity

()

Source from the content-addressed store, hash-verified

24
25// TODO: TUN-6604 Remove this. To reconstruct into Jaeger propagation format, convert tracingContext to tracing.Identity
26func (tc *Identity) String() string {
27 return fmt.Sprintf("%016x%016x:%x:0:%x", tc.traceIDUpper, tc.traceIDLower, tc.spanID, tc.flags)
28}
29
30func (tc *Identity) MarshalBinary() ([]byte, error) {
31 buf := bytes.NewBuffer(make([]byte, 0, IdentityLength))

Callers 3

nextPacketMethod · 0.95
TestTraceICMPRouterEchoFunction · 0.95
TestNewIdentityFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestTraceICMPRouterEchoFunction · 0.76
TestNewIdentityFunction · 0.76