diff --git a/model/discovery/Service.go b/model/discovery/Service.go index f83941c..dae8dc2 100644 --- a/model/discovery/Service.go +++ b/model/discovery/Service.go @@ -7,7 +7,8 @@ import ( type Service struct { MetaCryptoType *meta.MetaCryptoType `json:"metaCryptoType,omitempty"` - Name string `json:"name,omitempty"` + Key string `json:"key,omitempty"` + Description string `json:"description,omitempty"` Port *Port `json:"port,omitempty"` diff --git a/model/infra/InfraService.go b/model/infra/InfraService.go index ae7dc8e..2c1a0d9 100644 --- a/model/infra/InfraService.go +++ b/model/infra/InfraService.go @@ -7,4 +7,5 @@ type InfraService struct { MetaTargetServiceType *meta.MetaTargetServiceType `json:"metaTargetServiceType,omitempty"` InfraHostPort *InfraHostPort `json:"infraHostPort,omitempty"` MetaCryptoType *meta.MetaCryptoType `json:"metaCryptoType,omitempty"` + Description string `json:"description,omitempty"` }