Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Killer ¶
type Killer struct { // C is a channel to receive the kill signal. It is safe with multiple // receive operations from multiple goroutines. // // Technically, C is just closed when Kill is called. Note that reading // from closed channels never gets blocked. C <-chan struct{} // contains filtered or unexported fields }
Killer sends a "kill" signal to goroutines.
Click to show internal directories.
Click to hide internal directories.