var LeasePrefix …
var LeaseInternalPrefix …
var applyTimeout …
var ErrLeaseHTTPTimeout …
func NewHandler(l lease.Lessor, waitch func() <-chan struct{ … }
type leaseHandler …
func (h *leaseHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { … }
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, rt http.RoundTripper) (*leasepb.LeaseInternalResponse, error) { … }
func readResponse(resp *http.Response) (b []byte, err error) { … }