https://github.com/goapt/redis
base go-redis connection library
https://github.com/goapt/redis
Last synced: about 2 months ago
JSON representation
base go-redis connection library
- Host: GitHub
- URL: https://github.com/goapt/redis
- Owner: goapt
- License: mit
- Created: 2018-06-26T10:46:27.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-05-30T22:57:23.000Z (almost 2 years ago)
- Last Synced: 2024-06-20T16:47:16.652Z (11 months ago)
- Language: Go
- Size: 90.8 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# redis
base on go-redis library## Usage
```shell script
go get github.com/goapt/redis
``````go
configs := make(map[string]redis.Config)configs["default"] = Config{
Server: "127.0.0.1:6379",
}redis.Connect(configs)
client := redis.NewRedisWithName("default")
```