signalctx

package
v0.0.0-...-e2b2867 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2020 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package signalctx provides the context interface which handle of termination OS signals.

This package largely inspired by knative.dev/pkg/signals package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContext

func NewContext() context.Context

NewContext creates a new context with SetupSignalHandler() as our Done() channel.

Types

This section is empty.

Jump to

Keyboard shortcuts

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