code: func (a *Agent) RemoveService(serviceID string, persist bool) error {
  	a.stateLock.Lock()
  	defer a.stateLock.Unlock()
  	return a.removeServiceLocked(serviceID, persist)
  }
docs: // RemoveService is used to remove a service entry.
  // The agent will make a best effort to ensure it is deregistered