// New creates a ServiceDiscovery.
New creates a ServiceDiscovery.
// New creates a ServiceDiscovery .
func New(name string, factoryMethod func() servicediscovery.Resolver) ServiceDiscovery {
	return ServiceDiscovery{
		Name:          name,
		FactoryMethod: factoryMethod,
	}
}
func New ( name string , factoryMethod func ( ) servicediscovery . Resolver ) ServiceDiscovery { return ServiceDiscovery { Name : name , FactoryMethod : factoryMethod , } }
New creates a ServiceDiscovery.
New creates a ServiceDiscovery .