context

package
v0.0.0-...-1c92e5d Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Background

func Background() context.Context

Background wraps `context.Background()` with a signal handler

func WithSignalHandler

func WithSignalHandler(pCtx context.Context) context.Context

WithSignalHandler wraps the context so a system Interrupt or SIGTERM signal cancels it

Types

This section is empty.

Jump to

Keyboard shortcuts

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