Versions in this module Expand all Collapse all v3 v3.4.6 Mar 19, 2020 Changes in this version + var ErrLeaseHTTPTimeout = errors.New("waiting for node to catch up its applied index has timed out") + var LeaseInternalPrefix = "/leases/internal" + var LeasePrefix = "/leases" + func NewHandler(l lease.Lessor, waitch func() <-chan struct{}) http.Handler + func RenewHTTP(ctx context.Context, id lease.LeaseID, url string, rt http.RoundTripper) (int64, error) + func TimeToLiveHTTP(ctx context.Context, id lease.LeaseID, keys bool, url string, ...) (*leasepb.LeaseInternalResponse, error)