|
@ -20,7 +20,7 @@ func Conn(url ...string) (*RedisServiceClient, *rpc.Client, error) { |
|
|
rpc_url = "127.0.0.1:" + conf.REDIS_RPC_PORT |
|
|
rpc_url = "127.0.0.1:" + conf.REDIS_RPC_PORT |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
log.Println("rpc_url", rpc_url) |
|
|
|
|
|
|
|
|
log.Println("rpc_url", rpc_url, "conf.REDIS_RPC_URL", conf.REDIS_RPC_URL) |
|
|
|
|
|
|
|
|
return DialRedisService("tcp", rpc_url) |
|
|
return DialRedisService("tcp", rpc_url) |
|
|
|
|
|
|
|
|