2018-04-26 07:37:59 +00:00
|
|
|
package discovery
|
2018-04-12 09:38:04 +00:00
|
|
|
|
2018-06-12 09:18:11 +00:00
|
|
|
import "git.loafle.net/overflow/commons-go/core/util"
|
2018-04-12 09:38:04 +00:00
|
|
|
|
|
|
|
type Service struct {
|
|
|
|
|
2018-06-12 09:18:11 +00:00
|
|
|
MetaCryptoTypeKey string `json:"metaCryptoTypeKey, omitempty"`
|
|
|
|
Name string `json:"name, omitempty"`
|
|
|
|
Port *Port `json:"port, omitempty"`
|
2018-04-12 09:38:04 +00:00
|
|
|
|
2018-05-11 02:24:21 +00:00
|
|
|
DiscoveredDate *util.Timestamp `json:"discoveredDate,omitempty"`
|
2018-06-12 09:18:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
//Port *Port `json:"port,omitempty"`
|
|
|
|
//
|
|
|
|
//ID json.Number `json:"id,Number,omitempty"`
|
|
|
|
//CryptoType constants.CryptoType `json:"cryptoType,omitempty"`
|
|
|
|
//ServiceName string `json:"serviceName,omitempty"`
|
|
|
|
//
|
|
|
|
//DiscoveredDate *util.Timestamp `json:"discoveredDate,omitempty"`
|
2018-04-12 09:38:04 +00:00
|
|
|
}
|