xcontext

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeInterruptibleContext

func MakeInterruptibleContext(ctx context.Context) context.Context

MakeInterruptibleContext returns a context that will be cancelled when an interrupt signal is received. This allows a command line tool to be cancelled by Ctrl+C.

Types

This section is empty.

Jump to

Keyboard shortcuts

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