Commit a6cd7830 authored by hujiebin's avatar hujiebin

InitCluster

parent 6320e420
......@@ -9,7 +9,7 @@ import (
var RedisClusterClient *redis.Client
func Init() {
func InitCluster() {
RedisClusterClient = redis.NewClient(&redis.Options{
Addr: config.GetConfigRedis().REDIS_CLUSTER_HOST,
Password: config.GetConfigRedis().REDIS_CLUSTER_PASSWORD, // no password set
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment