package
Version:
v0.2.2
Opens a new window with list of versions in this module.
Published: Jan 3, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Value[T any] struct {
Key any
}
Value is used to lookup values stored in context.Context.
NewValue creates a new value.
Get returns a value bound to a request context.
GetContext returns a value bound to a context.
Set will update a context value in the passed request.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.