ctxutil

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func V added in v0.1.1137

func V[T any](ctx context.Context, k any) (T, bool)

V returns a typed context value.

func WithC

func WithC(r ...*http.Request) (context.Context, context.CancelFunc)

WithC returns a context with a cancel function.

func WithV added in v0.1.1137

func WithV(r *http.Request, k, v any) *http.Request

WithV returns a request with a context value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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