Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureAutoExit ¶
ConfigureAutoExit starts automatic shutdown mechanism if necessary
Types ¶
type ExitDetector ¶
type ExitDetector interface {
// contains filtered or unexported methods
}
ExitDetector is common interface for shutdown mechanisms
func DefaultNoProcessExit ¶
func DefaultNoProcessExit() (ExitDetector, error)
DefaultNoProcessExit creates the default NoProcess shutdown detector
func NoProcessExit ¶
func NoProcessExit(r []*regexp.Regexp) ExitDetector
NoProcessExit creates a shutdown detector based on running processes
Click to show internal directories.
Click to hide internal directories.