contextvalues

package
v0.0.0-...-8f4d57c Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTracerToContext

func AddTracerToContext(ctx context.Context, tracer trace.Tracer) context.Context

Add tracer to context

func AddVersionToContext

func AddVersionToContext(ctx context.Context, version string) context.Context

Add version to context

func TracerFromContext

func TracerFromContext(ctx context.Context) trace.Tracer

Retrieve tracer from context

func VersionFromContext

func VersionFromContext(ctx context.Context) string

Retrieve version from context

Types

This section is empty.

Jump to

Keyboard shortcuts

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