Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface {
Run(context.Context)
Shutdown(context.Context)
Register(string, func(context.Context) error)
}
func NewManager ¶ added in v0.7.0
func NewManager(log *log.PrefixLogger, timeout time.Duration, cancelFn context.CancelFunc) Manager
NewManager creates a new shutdown manager.
Click to show internal directories.
Click to hide internal directories.