graceupdate

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Global is gracenet Net struct
	Global = &gracenet.Net{}
)

Functions

func CallOriProcessTerm

func CallOriProcessTerm(done chan struct{}) bool

CallOriProcessTerm notifies parent process to exist.

func IsInherit

func IsInherit() bool

IsInherit returns if I am the child process on gracefully updating process.

func NotifySigUsr2

func NotifySigUsr2(closeCls func(), restartCls func())

NotifySigUsr2 handles signal SIGUSR2 to gracefaully update.

Types

This section is empty.

Jump to

Keyboard shortcuts

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