Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestCtxSpanExtractor ¶
type RequestCtxSpanExtractor int
func (RequestCtxSpanExtractor) Extract ¶
func (RequestCtxSpanExtractor) Extract(ctx context.Context) *trace.SeveritySpan
Extract implements trace.SpanExtractor
type RequestHeaderCarrier ¶
type RequestHeaderCarrier struct {
// contains filtered or unexported fields
}
RequestHeaderCarrier adapts fasthttp.RequestHeader to satisfy the TextMapCarrier interface.
func NewRequestHeaderCarrier ¶
func NewRequestHeaderCarrier(header *http.RequestHeader) *RequestHeaderCarrier
func (RequestHeaderCarrier) Get ¶
func (hc RequestHeaderCarrier) Get(key string) string
Get returns the value associated with the passed key.
func (RequestHeaderCarrier) Keys ¶
func (hc RequestHeaderCarrier) Keys() []string
Keys lists the keys stored in this carrier.
func (RequestHeaderCarrier) Set ¶
func (hc RequestHeaderCarrier) Set(key string, value string)
Set stores the key-value pair.
Click to show internal directories.
Click to hide internal directories.