propagation

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: MIT Imports: 6 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

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