-
Notifications
You must be signed in to change notification settings - Fork 161
/
Copy pathREADME.md.tpl
28 lines (20 loc) · 795 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
28
# redislock
[](https://github.com/bsm/redislock/actions/workflows/test.yml)
[](http://godoc.org/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 (
"context"
"fmt"
"log"
"time"
"github.com/bsm/redislock"
"github.com/redis/go-redis/v9"
)
func main() {{ "Example" | code }}
```
## Documentation
Full documentation is available on [GoDoc](http://godoc.org/github.com/bsm/redislock)