Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() propagation.TextMapPropagator
Types ¶
type Propagator ¶
type Propagator struct{}
func (Propagator) Extract ¶
func (l5d Propagator) Extract(ctx context.Context, carrier propagation.TextMapCarrier) context.Context
Extract gets a context from the carrier if it contains linkerd trace header.
func (Propagator) Fields ¶
func (l5d Propagator) Fields() []string
Fields returns list of fields used by HTTPTextFormat.
func (Propagator) Inject ¶
func (l5d Propagator) Inject(ctx context.Context, carrier propagation.TextMapCarrier)
Inject injects a context to the carrier following linkerd trace format.
Click to show internal directories.
Click to hide internal directories.