propagation

package
v0.3.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2023 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPFormat

type HTTPFormat struct{}

HTTPFormat propagator serializes SpanContext to/from HTTP Headers.

func (HTTPFormat) Extract

Extract extracts a context from the carrier if it contains HTTP headers.

func (HTTPFormat) Fields

func (hf HTTPFormat) Fields() []string

Fields is propagation keys

func (HTTPFormat) Inject

func (hf HTTPFormat) Inject(ctx context.Context, carrier propagation.TextMapCarrier)

Inject injects a context into the carrier as HTTP headers.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL