sys

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckProcessExists

func CheckProcessExists(process *os.Process) error

CheckProcessExists checks if a process exists on Unix systems

func GetProcessAttributes

func GetProcessAttributes() *syscall.SysProcAttr

GetProcessAttributes returns process attributes for Unix systems

func GetShutdownSignals

func GetShutdownSignals() []os.Signal

GetShutdownSignals returns the signals to listen for graceful shutdown on Unix systems

func TerminateProcess

func TerminateProcess(process *os.Process) error

TerminateProcess sends SIGTERM to a process on Unix systems

Types

This section is empty.

Jump to

Keyboard shortcuts

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