base on go-redis library
go get github.com/goapt/redisconfigs := make(map[string]redis.Config)
configs["default"] = Config{
Server: "127.0.0.1:6379",
}
redis.Connect(configs)
client := redis.NewRedisWithName("default")| Name | Name | Last commit date | ||
|---|---|---|---|---|