Does go-redis provide an implementation of distributed locks? #1962
Answered
by
vmihailenco
musclechen
asked this question in
Q&A
-
I want a distributed lock that can achieve CAS, automatic extension (watch dog) and so on. Similar to the function of java's Redisson. I don't know if such an interface already exists for go-redis. |
Beta Was this translation helpful? Give feedback.
Answered by
vmihailenco
Dec 26, 2021
Replies: 1 comment 1 reply
-
You can try https://github.com/bsm/redislock |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
musclechen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can try https://github.com/bsm/redislock