context

package module
v1.0.2 Latest Latest
Warning

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

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

README

Various internal context unique tools

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// OtelTracerNameKey is OpenTelemetry context key
	OtelTracerNameKey = &ContextKey{name: "tracer_name"} //nolint:gochecknoglobals

	// PsrContextKey is a context key. It can be used in the http attributes
	// immutable
	PsrContextKey = &ContextKey{"psr_attributes"} //nolint:gochecknoglobals
)

Functions

This section is empty.

Types

type ContextKey

type ContextKey struct {
	// contains filtered or unexported fields
}

func (*ContextKey) String

func (ck *ContextKey) String() string

Jump to

Keyboard shortcuts

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