procutil

package
v1.93.7-cluster Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 4 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSighupChan added in v1.35.2

func NewSighupChan() <-chan os.Signal

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

func SelfSIGHUP added in v1.35.1

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