Versions in this module Expand all Collapse all v0 v0.2.3 Feb 27, 2015 v0.2.2 Feb 27, 2015 Changes in this version + type ChildFunc func(parent ContextGroup) + type ContextGroup interface + AddChild func(io.Closer) + AddChildFunc func(c ChildFunc) + Children func() *sync.WaitGroup + Close func() error + Closed func() <-chan struct{} + Closing func() <-chan struct{} + Context func() context.Context + SetTeardown func(tf TeardownFunc) + func WithBackground() ContextGroup + func WithContext(ctx context.Context) ContextGroup + func WithContextAndTeardown(ctx context.Context, cf TeardownFunc) ContextGroup + func WithParent(p ContextGroup) ContextGroup + func WithTeardown(cf TeardownFunc) ContextGroup + type TeardownFunc func() error