package
0.0.0-20220325162120-a87e9754f752
Repository: https://github.com/go-roc/roc.git
Documentation: pkg.go.dev
# Functions
Acquire is a distributed lock by etcdtry to lock with a keyif timeout the lock will be returnf() is the function what will be lockit will return a errorkey is prefix or a unique idtll is lock timeout settingtryLockTimes is backoff to retry lock.
No description provided by the author
if lock get failure during time.Second,it will be return lock err.
# Variables
No description provided by the author