requesttrace

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Current

func Current(ctx context.Context) string

Current returns the root request trace ID stored on the context.

func Ensure

func Ensure(ctx context.Context, traceID string) context.Context

Ensure stores the root request trace ID on the context if it is not already set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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