Versions in this module Expand all Collapse all v0 v0.3.0 Apr 2, 2020 Changes in this version + type Hooks struct + func New() *Hooks + func (h *Hooks) AddPreShutdownHook(name string, hook ShutdownHook) + func (h *Hooks) RunPreShutdownHooks() error + type ShutdownHook func() error