Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChannelBus ¶
func NewChannelBus(bufSize int) (*ChannelProducer, *ChannelConsumer)
Types ¶
type ChannelConsumer ¶
type ChannelConsumer struct {
// contains filtered or unexported fields
}
ChannelConsumer is an in-process Consumer backed by a Go channel.
func (*ChannelConsumer) Close ¶
func (c *ChannelConsumer) Close() error
type ChannelProducer ¶
type ChannelProducer struct {
// contains filtered or unexported fields
}
ChannelProducer is an in-process Producer backed by a Go channel.
func (*ChannelProducer) Close ¶
func (p *ChannelProducer) Close() error
Click to show internal directories.
Click to hide internal directories.