Skip to content

goapt/redis

Repository files navigation

redis

base on go-redis library

Build Status codecov Go Report Card
GoDoc

Usage

go get github.com/goapt/redis
configs := make(map[string]redis.Config)

configs["default"] = Config{
    Server: "127.0.0.1:6379",
}

redis.Connect(configs)
client := redis.NewRedisWithName("default")