signal

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 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