Documentation ¶
Overview ¶
workgroup provides a mechanism for controlling the lifetime of a group of related goroutines (workers). workgroup is distilled from similar ideas in Peter Bourgon's github.com/oklog/oklog/pkg/group and Dave Cheney's github.com/pkg/life.
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
}
Group manages a set of goroutines with related lifetimes.
Click to show internal directories.
Click to hide internal directories.