Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WaitGroup ¶
type WaitGroup struct {
// contains filtered or unexported fields
}
WaitGroup waits for other same processes based key with timeout.
func (*WaitGroup) Add ¶
(*WaitGroup).Add add adds a new caller or if the caller exists increment dups with key.
func (*WaitGroup) Done ¶
(*WaitGroup).Done done cancels the group context or if the caller dups more then zero, decrements the dups with key.
Click to show internal directories.
Click to hide internal directories.