Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Provide ¶
func Provide(groups []ChannelGroup) (bus iprocbus.IProcBus)
Usage:
- Create IProcBus
- CommandProcessorsGroup: group0:{NumChannels:10, ChannelBufferSize: 10}
- One command processor - one channel
- QueryProcessorsGroup: group1:{NumChannels:1, ChannelBufferSize: 0}
- Wire IProcBus.ServiceChannel(...) to services
- Use Submit() to deliver messages to services
Types ¶
type ChannelGroup ¶
Click to show internal directories.
Click to hide internal directories.