Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
var DefaultRegistry *Registry = NewRegistry()
DefaultRegistry is the singleton with the registry.
func (*Registry) Create ¶
func (p *Registry) Create(name, version string) (nameresolver.Resolver, error)
Create instantiates a pub/sub based on `name`.
func (*Registry) RegisterComponent ¶
func (p *Registry) RegisterComponent(componentFactory func() nameresolver.Resolver, names ...string)
RegisterComponent adds a new message bus to the registry.
Click to show internal directories.
Click to hide internal directories.