lease增加永久续期支持
This commit is contained in:
@ -44,3 +44,6 @@ type CancelWatcherHandler func(key string, data interface{})
|
||||
|
||||
// TimeoutWatcherHandler 超时之后的回调函数
|
||||
type TimeoutWatcherHandler func(key string, timeout time.Duration)
|
||||
|
||||
// LeaseKeepALiveHandler 续期成功的处理
|
||||
type LeaseKeepALiveHandler func(key string, leaseDetail *clientv3.LeaseKeepAliveResponse)
|
||||
|
Reference in New Issue
Block a user