From 51bb7e0c92a9b8363440274fafd504721865e4a0 Mon Sep 17 00:00:00 2001 From: insanity Date: Mon, 13 Aug 2018 17:12:55 +0900 Subject: [PATCH] service - name/meta --- discovery/Service.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/discovery/Service.go b/discovery/Service.go index 764628a..c0b03ea 100644 --- a/discovery/Service.go +++ b/discovery/Service.go @@ -8,9 +8,11 @@ import ( type Service struct { MetaCryptoType *meta.MetaCryptoType `json:"metaCryptoType,omitempty"` Key string `json:"key,omitempty"` + Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Port *Port `json:"port,omitempty"` - DiscoveredDate *util.Timestamp `json:"discoveredDate,omitempty"` + DiscoveredDate *util.Timestamp `json:"discoveredDate,omitempty"` + Metadata map[string]string `json:"metadata,omitempty"` }