aternosorg / php-etcd

PHP gRPC client for etcd v3
https://packagist.org/packages/aternos/etcd
MIT License
24 stars 5 forks source link

Watch command missing? #13

Open touqeershafi opened 5 months ago

touqeershafi commented 5 months ago

Is it possible to add watch command in the library?

https://etcd.io/docs/v3.5/tutorials/how-to-watch-keys/

matthi4s commented 5 months ago

It's possible, the auto generated classes already exist here: https://github.com/aternosorg/php-etcd/tree/master/grpc/Etcdserverpb

I currently don't have the time to implement that as part of the client class, but you could open a PR for it.