Documentation ¶
Index ¶
Constants ¶
View Source
const ( HeaderTraceID = "Trace-Id" HeaderTraceOptions = "Trace-Options" HeaderSpanID = "Span-Id" )
Variables ¶
This section is empty.
Functions ¶
func Inject ¶
func Inject(spanCtx trace.SpanContext, format Format, carrier interface{})
Types ¶
type HTTPHeader ¶
func (HTTPHeader) ForeachKey ¶
func (h HTTPHeader) ForeachKey(handler func(key, val string) error) error
func (HTTPHeader) Set ¶
func (h HTTPHeader) Set(key, value string)
Click to show internal directories.
Click to hide internal directories.