From 985d4476989e808a2ab5aa0e4fed92a46f7ec0a6 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期六, 17 十月 2020 15:23:13 +0800
Subject: [PATCH] findCluster use proto
---
clientFactory.go | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/clientFactory.go b/clientFactory.go
index 0bb07d3..d498d71 100644
--- a/clientFactory.go
+++ b/clientFactory.go
@@ -2,5 +2,8 @@
//Factory new client
func NewClient() Client {
- return &HttpClient{}
+ var client Client
+ client = &HttpClient{}
+ //client = &ReqRepClient{}
+ return client
}
--
Gitblit v1.8.0