Documentation
¶
Overview ¶
Package registry provides a generic, concurrency-safe name→factory registry. Each component kind (datapath, scheduler, generator, payload) keeps its own registry so new backends and protocols register themselves and drop in without a central switch. See DESIGN.md §5.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
Registry maps names to factories for one component kind. T is the produced interface; O is that kind's options struct.
func (*Registry[T, O]) Build ¶
Build constructs the named component from opts, or returns an error naming the registered alternatives.
Click to show internal directories.
Click to hide internal directories.