Configuring watcher with multiple endpoints is not possible
phaniraj75 opened this issue · comments
We are trying build Auth module with casbin & etcd adapter, etcd adapter supports configuring multiple etcd endpoints for persistance but etcd-watcher allow only one endpoint to be configured to watch with "/casbin" as a key, I was wondering could this be a configurable parameter while creating watcher via "NewWatcher".. or was there is any specific reason for not doing so?
Can you make a PR by adding a new constructor?
Sure.. I made the changes will verify and submit PR for the same.