forked from bsm/redislock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.md.tpl
27 lines (19 loc) · 910 Bytes
/
README.md.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# redislock
[](https://github.com/bsm/redislock/actions/workflows/test.yml)
[](http://godoc.org/github.com/bsm/redislock)
[](https://goreportcard.com/report/github.com/bsm/redislock)
[](https://opensource.org/licenses/Apache-2.0)
Simplified distributed locking implementation using [Redis](http://redis.io/topics/distlock).
For more information, please see examples.
## Examples
```go
import (
"fmt"
"time"
"github.com/bsm/redislock"
"github.com/go-redis/redis/v8"
)
func main() {{ "Example" | code }}
```
## Documentation
Full documentation is available on [GoDoc](http://godoc.org/github.com/bsm/redislock)