ctx

package
v1.0.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TraceID

func TraceID(gc context.Context) string

TraceID returns the traceID from the given context if any, it returns an empty string if the context has no value

func WithTraceID

func WithTraceID(gc context.Context, traceID string) context.Context

WithTraceID returns a context with a TraceID

Types

This section is empty.

Jump to

Keyboard shortcuts

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