ctx

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cancel

func Cancel(handle Handle) bool

func Done

func Done(handle Handle) bool

func Err

func Err(handle Handle) error

func Value

func Value(handle Handle) context.Context

Types

type Handle

type Handle struct {
	// contains filtered or unexported fields
}

func Background

func Background() Handle

func WithDeadlineUnix

func WithDeadlineUnix(parent Handle, unixSeconds int64) Handle

func WithTimeout

func WithTimeout(parent Handle, seconds int64) Handle

func WithTimeoutMs

func WithTimeoutMs(parent Handle, timeoutMs int64) Handle

Jump to

Keyboard shortcuts

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