context

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: GPL-2.0, MIT Imports: 1 Imported by: 4

Documentation

Overview

Package context is a set of shorter names for the very stuttery context library.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Bg - context.Background
	Bg = context.Background
	// Cancel - context.WithCancel
	Cancel = context.WithCancel
	// Timeout - context.WithTimeout
	Timeout = context.WithTimeout
	// TODO - context.TODO
	TODO = context.TODO
	// Value - context.WithValue
	Value = context.WithValue
	// CancelCause - context.WithCancelCause
	CancelCause = context.WithCancelCause
	// Canceled - context.Canceled
	Canceled = context.Canceled
)

Functions

This section is empty.

Types

type C

C - context.CancelCauseFunc

type F

type F = context.CancelFunc

F - context.CancelFunc

type T

type T = context.Context

T - context.Context

Jump to

Keyboard shortcuts

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