package
Version:
v0.0.0-...-eb6d389
Opens a new window with list of versions in this module.
Published: Dec 27, 2016
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
A Killchan is a chan struct{} that can be closed multiple times without panicing.
Return true if the channel is still alive, false if it has been killed.
func (kc *Killchan) Chan() <-chan struct{}
Return the channel.
Kill the channel. Returns true if the channel has been killed,
false if it had already been killed previously.
Wait for the channel to be killed.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.