procutil

package
v0.0.0-...-7d8b796 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSighupChan

func NewSighupChan() <-chan os.Signal

NewSighupChan returns a channel, which is triggered on every SIGHUP.

func SelfSIGHUP

func SelfSIGHUP()

SelfSIGHUP sends SIGHUP signal to the current process.

func WaitForSigterm

func WaitForSigterm() os.Signal

WaitForSigterm waits for either SIGTERM or SIGINT

Returns the caught signal.

It also prevent from program termination on SIGHUP signal, since this signal is frequently used for config reloading.

Types

This section is empty.

Jump to

Keyboard shortcuts

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