stack_http

package
v0.0.0-...-fb32a43 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoTraceContext         = errors.New("no trace context")
	ErrsMalformedTraceContext = errors.New("malformed trace context")
)

Functions

func Export

func Export(from context.Context, to http.Header)

func ExportToString

func ExportToString(from context.Context) (traceparent, tracestate string)

func Import

func Import(from http.Header) (o stack_backend.Option, err error)

Import loads W3C Trace Context form supplied request header

func ImportFromString

func ImportFromString(traceparent, tracestate string) (o stack_backend.Option, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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