Versions in this module Expand all Collapse all v0 v0.0.1 Dec 22, 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