Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultJobsLimit defines a maxiumum amount of jobs allowed in channel DefaultJobsLimit = 100 // DefaultMaxWorkers is the package default worker ceiling amount DefaultMaxWorkers = 10 // DefaultHandshakeTimeout defines a workers max length of time to wait on a // an unbuffered channel for a receiver before moving on to next route DefaultHandshakeTimeout = 200 * time.Nanosecond )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dispatcher ¶
type Dispatcher struct {
// contains filtered or unexported fields
}
Dispatcher defines an internal subsystem communication/change state publisher
type Mux ¶
Mux defines a new multiplexor for the dispatch system, these a generated per subsystem
func GetNewMux ¶
func GetNewMux() *Mux
GetNewMux returns a new multiplexor to track subsystem updates
func (*Mux) Publish ¶
Publish takes in a persistent memory address and dispatches changes to required pipes. Data should be of *type.
Click to show internal directories.
Click to hide internal directories.