request

package
v2.13.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package request provides functions add and extract information from an http request.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IDFrom

func IDFrom(ctx context.Context) (string, bool)

IDFrom returns the value of the request ID on the ctx.

func WithID

func WithID(parent context.Context, id string) context.Context

WithID returns a copy of parent in which the request ID value is set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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