context

package
v2.83.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2025 License: MIT Imports: 1 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Background is an alias for context.WithValue.
	Background = context.Background

	// WithDeadline is an alias for context.WithDeadline.
	WithDeadline = context.WithDeadline

	// WithTimeout is an alias for context.WithTimeout.
	WithTimeout = context.WithTimeout

	// WithValue is an alias for context.WithValue.
	WithValue = context.WithValue
)

Functions

This section is empty.

Types

type CancelFunc

type CancelFunc = context.CancelFunc

CancelFunc is an alias for context.CancelFunc.

type Context

type Context = context.Context

Context is an alias for context.Context.

type Key

type Key string

Key is used to store items in context.

Jump to

Keyboard shortcuts

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