Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store[T any] struct { // contains filtered or unexported fields }
Store provides a typed key for context and request value access.
func (*Store[T]) ContextWithValue ¶
ContextWithValue returns a derived context carrying val.
func (*Store[T]) RequestWithContextValue ¶
RequestWithContextValue returns a request with val attached to its context.
Click to show internal directories.
Click to hide internal directories.