Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 267 Bytes

CHANGELOG.md

File metadata and controls

15 lines (10 loc) · 267 Bytes

v0.1

func Acquire(client *etcd.Client, key string, uint64 ttl) (*Lock, error)
func (lock *Lock) Release() error

v0.2

func Wait(client *etcd.Client, key string) error
func WaitAcquire(client *etcd.Client, key string, uint64 ttl) (*Lock, erro)