// Register adds one or many service discovery components to the registry.
Register adds one or many service discovery components to the registry.
// Register adds one or many service discovery components to the registry .
func (s *serviceDiscoveryRegistry) Register(components ...ServiceDiscovery) {
	for _, component := range components {
		s.resolvers[createFullName(component.Name)] = component.FactoryMethod
	}
}
func ( s * serviceDiscoveryRegistry ) Register ( components ... ServiceDiscovery ) { for _ , component := range components { s . resolvers [ createFullName ( component . Name ) ] = component . FactoryMethod } }
Register adds one or many service discovery components to the registry.
Register adds one or many service discovery components to the registry .