code: func NewHostDiscovery(watcher discovery.Watcher) HostDiscovery {
  	return &hostDiscovery{watcher: watcher, nodes: mapset.NewSet(), stopChan: make(chan struct{})}
  }
docs: // NewHostDiscovery function creates a host discovery object