signal

package
v4.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(sig string) (unix.Signal, error)

Convert converts a signal string to corresponding signal number

func Raise

func Raise(sig unix.Signal)

Raise sends a signal to the current process and ensure the current signal handler is set to its default handler for the corresponding signal. It allows to send signals like SIGABRT without triggering Go core dump handler.

Types

This section is empty.

Jump to

Keyboard shortcuts

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