Documentation ¶
Index ¶
Constants ¶
View Source
const MAX_GRACEFUL_SHUTDOWN_ALLOWED = 10*time.Second + 1*time.Second
* Windows's standard graceful shutdown timeout is 10s. * In the worst case, we wait for one more second before cutting off * the process
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Process ¶
type Process struct {
// contains filtered or unexported fields
}
func (*Process) SetInterrupt ¶
func (*Process) WritePIDFile ¶
Click to show internal directories.
Click to hide internal directories.