Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laisky/go-redis
redis utils
https://github.com/laisky/go-redis
Last synced: 17 days ago
JSON representation
redis utils
- Host: GitHub
- URL: https://github.com/laisky/go-redis
- Owner: Laisky
- License: mit
- Created: 2020-05-26T01:38:28.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-06T23:42:26.000Z (over 1 year ago)
- Last Synced: 2024-06-20T01:26:17.257Z (5 months ago)
- Language: Go
- Size: 158 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Redis Tools
Some redis utils depend on
```go
import (
gredis "github.com/Laisky/go-redis"
"github.com/go-redis/redis"
)func main() {
rtils := NewRedisUtils(redis.NewClient(&redis.Options{}))
}
```## Features
- `getset.go`: common utils of get/set
- `sync.go`: distributed locks