iprocbusmem

package
v1.202405300917.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2024 License: MIT Imports: 1 Imported by: 1

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

type ChannelGroup struct {
	NumChannels       int
	ChannelBufferSize int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL