Versions in this module Expand all Collapse all v1 v1.0.5 Nov 27, 2022 Changes in this version + const MinShutdownTimeout + func AddInherited(procFiles []*os.File, envs []*Env) + func GraceSignal() + func Reboot(timeout ...time.Duration) + func SetLog(logger Logger) + func SetShutdown(timeout time.Duration, firstSweepFunc, beforeExitingFunc func() error) + func Shutdown(timeout ...time.Duration) + type Env struct + K string + V string + type Logger interface + Errorf func(format string, v ...interface{}) + Infof func(format string, v ...interface{}) + type LoggerWithFlusher interface + Flush func() error