Documentation ¶ Index ¶ func Close(closers ...func() error) error func Do(action func() error, updateErr *error) func HandleExit() func Run(ctx context.Context, timeout time.Duration, actions ...func() error) error type Exit Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Close ¶ func Close(closers ...func() error) error func Do ¶ func Do(action func() error, updateErr *error) func HandleExit ¶ func HandleExit() func Run ¶ func Run(ctx context.Context, timeout time.Duration, actions ...func() error) error Types ¶ type Exit ¶ type Exit struct{ Code int } Source Files ¶ View all Source files exit.go run.go stop.go Click to show internal directories. Click to hide internal directories.