code: func (c *CheckAlias) run(stopCh chan struct{}) {
  	// If we have a specific node set, then use a blocking query
  	if c.Node != "" {
  		c.runQuery(stopCh)
  		return
  	}
  
  	// Use the local state to match the service.
  	c.runLocal(stopCh)
  }
docs: // run is invoked in a goroutine until Stop() is called.