Documentation ¶ Index ¶ func AddHandler(handler Handler) func Context() context.Context func Exit(reason string) func Shutdown(reason string) func Wait() string func WithContext(ctx context.Context) (context.Context, error) type Handler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AddHandler ¶ func AddHandler(handler Handler) func Context ¶ added in v0.7.0 func Context() context.Context func Exit ¶ added in v0.7.0 func Exit(reason string) func Shutdown ¶ func Shutdown(reason string) func Wait ¶ func Wait() string func WithContext ¶ added in v0.7.0 func WithContext(ctx context.Context) (context.Context, error) Types ¶ type Handler ¶ added in v0.4.0 type Handler func(ctx context.Context, reason string) error Source Files ¶ View all Source files config.goshutdown.go Click to show internal directories. Click to hide internal directories.