Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrChanClosed = errors.New("This channel has already been closed")
)
Functions ¶
This section is empty.
Types ¶
type Id ¶
type Id uint64
func New ¶
New creates a new rchan and returns the associated chan to read from to obtain the delayed response.
func (Id) C ¶
C will return the channel associated with a rchan object, or nil, and can be used to send the response to the initiator
func (Id) Release ¶
func (r Id) Release()
Release will release the given object from memory, future calls to C() on this object will return nil.
Click to show internal directories.
Click to hide internal directories.