Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
func (*Group) Shutdown ¶
Shutdown runs shutdown handlers provided by each runner during registration, and exits if the shutdown timeout reached or all of the shutdown handler return. It returns non-nil error if one of the shutdown handlers returns error, or if the timeout is reached. The returned error type is ErrGroup (if it is non-nil).
type ShutdownFunc ¶
Click to show internal directories.
Click to hide internal directories.