model/discovery/Service.go
crusader a9833d3070 ing
2018-09-05 05:43:44 +09:00

21 lines
686 B
Go

package discovery
import (
"git.loafle.net/overflow/model/meta"
"git.loafle.net/overflow/model/util"
)
type Service struct {
MetaCryptoType *meta.MetaCryptoType `json:"metaCryptoType,omitempty"`
Key string `json:"key,omitempty"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
Meta map[string]string `json:"meta,omitempty"`
Port *Port `json:"port,omitempty"`
DiscoveredBy string `json:"discoveredBy,omitempty"`
DiscoveredDate *util.Timestamp `json:"discoveredDate,omitempty"`
Metadata map[string]string `json:"metadata,omitempty"`
}