context

package
v0.0.0-...-aad8beb Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRequestID

func GetRequestID(ctx context.Context) string

GetRequestID returns a requestID value based on context

func SetRequestID

func SetRequestID(ctx context.Context, reqID string) context.Context

SetRequestID is a method that adds to context an X-Request-ID value

Types

This section is empty.

Jump to

Keyboard shortcuts

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