Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseRouter ¶ added in v0.109.0
type BaseRouter[T any] struct { Consumers map[pipeline.ID]T // contains filtered or unexported fields }
func NewBaseRouter ¶ added in v0.109.0
func NewBaseRouter[T any](fanout func([]T) T, cm map[pipeline.ID]T) BaseRouter[T]
func (*BaseRouter[T]) Consumer ¶ added in v0.109.0
func (r *BaseRouter[T]) Consumer(pipelineIDs ...pipeline.ID) (T, error)
func (*BaseRouter[T]) PipelineIDs ¶ added in v0.109.0
func (r *BaseRouter[T]) PipelineIDs() []pipeline.ID
Click to show internal directories.
Click to hide internal directories.