Versions in this module Expand all Collapse all v0 v0.2.1 Nov 28, 2023 v0.2.0 Nov 27, 2023 Changes in this version + type ErrGroup struct + Errs []error + func (e ErrGroup) Error() string + type Group struct + func NewGroup(shutdownTimeout time.Duration) *Group + func (g *Group) Errors() error + func (g *Group) Register(fn RunFunc, shutdownFn ShutdownFunc) *Group + func (g *Group) Shutdown() error + func (g *Group) Wait(ctx context.Context) *Group + type RunFunc func() error + type ShutdownFunc func(context.Context) error