code: func (adapter *Adapter) Watch(resyncName string, changeChan chan datasync.ChangeEvent,
  	resyncChan chan datasync.ResyncEvent, keyPrefixes ...string) (datasync.WatchRegistration, error) {
  
  	logrus.DefaultLogger().Debug("REST KeyValProtoWatcher WatchData ", resyncName, " ", keyPrefixes)
  
  	for _, keyPrefix := range keyPrefixes {
  		adapter.registerHTTPHandler(keyPrefix+"{suffix}", adapter.putMessage, "PUT")
  		adapter.registerHTTPHandler(keyPrefix+"{suffix}", adapter.delMessage, "DELETE")
  		//TODO adapter.registerHTTPHandler(keyPrefix + "{suffix}", getMessage, "GET")
  		//TODO httpmux.RegisterHTTPHandler("/vpprestcon/resync", putResync, "PUT")
  	}
  
  	return adapter.base.Watch(resyncName, changeChan, resyncChan, keyPrefixes...)
  }
docs: // Watch registers HTTP handlers - basically bridges them with local dbadapter.