signals

package
Version: v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Kill

func Kill(process *os.Process, sig os.Signal, sigChildren bool) error

send signal to the process

Args:

process - the process which the signal should be sent to
sig - the signal will be sent
sigChildren - true if the signal needs to be sent to the children also

func ToSignal

func ToSignal(signalName string) (os.Signal, error)

convert a signal name to signal

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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