liuxiaolong
2020-03-12 4497238bd859b8351b4eeb7ba6d00ef9264575c4
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
}