Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type C ¶
type C interface { // Send a messge to the channel. Returns false if the channel is closed. Send(v interface{}) (ok bool) // Recv a messge from the channel. Returns false if the channel is closed. Recv() (v interface{}, ok bool) // Close the channel. Returns false if the channel is already closed. Close() (ok bool) // Wait for the channel to close. Returns immediately if the channel is // already closed Wait() }
C is a channel
Click to show internal directories.
Click to hide internal directories.