commons-go/model/discovery/Service.go
2018-06-12 18:18:11 +09:00

22 lines
628 B
Go

package discovery
import "git.loafle.net/overflow/commons-go/core/util"
type Service struct {
MetaCryptoTypeKey string `json:"metaCryptoTypeKey, omitempty"`
Name string `json:"name, omitempty"`
Port *Port `json:"port, omitempty"`
DiscoveredDate *util.Timestamp `json:"discoveredDate,omitempty"`
//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"`
}