Skip to content

golang-collection/go-redis-distributed-lock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-redis-distributed-lock

go使用redis实现分布式锁

目录结构

  • configs:用于存放配置相关文件
  • global:用于存放全局设置
  • internal/worker
    • lock:分布式锁实现
    • executor:正常的业务逻辑
    • main/main.go:work主函数
  • pkg
    • cache:Redis pool连接
    • setting:与configs相对应读取配置文件

About

go使用redis实现分布式锁

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages