Skip to content

distribute lock, 使用 redis 实现的分布式锁

Notifications You must be signed in to change notification settings

dongzerun/dlock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dlock

distribute lock 分布式锁,当前使用 redis 做为 Delegater

使用方式见 test 文件, redis 集群必须支持 lua, 底层必须高可用

主要逻辑见 redis.go lua 注释

About

distribute lock, 使用 redis 实现的分布式锁

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages