requestid

package
v0.7.1 Latest Latest
Warning

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

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

Documentation

Overview

Package requestid defines request-id context storage and retrieval helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromContext

func FromContext(ctx context.Context) string

FromContext returns the request ID from the context, if present.

func WithContext

func WithContext(ctx context.Context, id string) context.Context

WithContext stores a request ID in the context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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