Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRegistry ¶
func NewRegistry(opts ...RegistryOption) ports.CapabilityRegistry
NewRegistry creates a new Registry with the given options.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry implements CapabilityRegistry.
type RegistryOption ¶
type RegistryOption func(*registryConfig)
RegistryOption configures a Registry instance.
func WithStrictMode ¶
func WithStrictMode(enabled bool) RegistryOption
WithStrictMode enables/disables strict mode for duplicate registrations. Default is true (fail on duplicates). Disable only for testing or hot-reloading.
Click to show internal directories.
Click to hide internal directories.