From a4ea6380ed70468b1bbaca0328a65686960fcd52 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期一, 20 四月 2020 16:23:30 +0800
Subject: [PATCH] add svLock

---
 client.go |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/client.go b/client.go
index 26b15dd..d9a211b 100644
--- a/client.go
+++ b/client.go
@@ -48,7 +48,7 @@
 
 type ServiceInfo struct {
 	ServiceId string `json:"serviceId"`
-	Info interface{} `json:"info"`
+	Info []byte `json:"info"`
 }
 
 func Client(urlServer string, serviceId string) (*DiscoveryClient, error) {
@@ -115,7 +115,7 @@
 	d.cancel()
 }
 
-func (d *DiscoveryClient) SetResp(i interface{}) {
+func (d *DiscoveryClient) SetResp(i []byte) {
 	d.service.Info = i
 }
 

--
Gitblit v1.8.0