liuxiaolong
2020-04-20 a4ea6380ed70468b1bbaca0328a65686960fcd52
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
}