aternosorg / php-etcd

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

Added lease methods #3

Closed 007hacky007 closed 4 years ago

007hacky007 commented 4 years ago

Added methods for manipulating with the lease.

getLeaseID - generates leaseId with the chosen TTL revokeLeaseID - self-explanatory refreshLease - self-explanatory (refreshes with lease's TTL)