Skip to content

Commit f753b48

Browse files
author
zhongyu mao
committed
修改readme
1 parent 58f2df0 commit f753b48

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
## go redis分布锁实现
22

3-
download
3+
4+
### 功能
5+
- redis客户端可传,默认用全局实例
6+
- 实现自动过期
7+
- 实现自动续租 (续租时间为过期时间的2/3)
8+
- lua实现获得和过期时间设置原子操作
9+
10+
11+
12+
### download
413
```shell
514
go get github.com/cr-mao/goredislock@v1.0.0
615
```
@@ -97,11 +106,6 @@ func main() {
97106

98107

99108

100-
### 功能
101-
- redis客户端可传,默认用全局实例
102-
- 实现自动过期
103-
- 实现自动续租 (续租时间为过期时间的2/3)
104-
- lua实现获得和过期时间设置原子操作
105109

106110

107111

0 commit comments

Comments
 (0)