code: func (l *State) AddService(service *structs.NodeService, token string) error {
  	l.Lock()
  	defer l.Unlock()
  	return l.addServiceLocked(service, token)
  }
docs: // AddService is used to add a service entry to the local state.
  // This entry is persistent and the agent will make a best effort to
  // ensure it is registered