context

package
v2.3.70 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Background = context.Background
View Source
var Canceled = context.Canceled
View Source
var TODO = context.TODO

Functions

func FromCtx

func FromCtx[T any](ctx context.Context, defaults ...T) (value T)

func WithCtx

func WithCtx[T any](ctx context.Context, value T) context.Context

Types

type Context

type Context = context.Context

Jump to

Keyboard shortcuts

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