package signal

import "github.com/rootless-containers/rootlesskit/pkg/sigproxy/signal"

Package signal provides helper functions for dealing with signals across various operating systems.

Forked from https://github.com/moby/moby/tree/37defbfd9b968f38e8e15dfa5f06d9f878bd65ba/pkg/signal

Index

Functions

func CatchAll

func CatchAll(sigc chan os.Signal)

CatchAll catches all signals and relays them to the specified channel.

func StopCatch

func StopCatch(sigc chan os.Signal)

StopCatch stops catching the signals and closes the specified channel.

Source Files

signal.go

Version
v0.14.4
Published
Aug 4, 2021
Platform
js/wasm
Imports
2 packages
Last checked
1 hour ago

Tools for package owners.