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 }