platform

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllSignals added in v0.19.0

func AllSignals() map[string]Signal

AllSignals returns a map of signal name → number for every signal known on this platform, discovered by probing numbers 1..64 with unix.SignalName. Only entries whose name starts with "SIG" are included.

Types

type Signal

type Signal = unix.Signal

func FromOsSignal

func FromOsSignal(sig os.Signal) Signal

func SignalNum

func SignalNum(name string) Signal

Jump to

Keyboard shortcuts

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