Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelImpl ¶
type ChannelImpl struct {
// contains filtered or unexported fields
}
func NewChannel ¶
func NewChannel(size uint32) *ChannelImpl
func (*ChannelImpl) Close ¶
func (a *ChannelImpl) Close()
func (*ChannelImpl) Receive ¶
func (a *ChannelImpl) Receive() (interface{}, bool)
func (*ChannelImpl) Send ¶
func (a *ChannelImpl) Send(val interface{}) bool
type OutgoingChannel ¶
type OutgoingChannel interface { Send(val interface{}) bool Close() }
Click to show internal directories.
Click to hide internal directories.