2018-08-12 10:46:46 +00:00
|
|
|
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"`
|
2018-08-13 08:12:55 +00:00
|
|
|
Name string `json:"name,omitempty"`
|
2018-08-12 10:46:46 +00:00
|
|
|
Description string `json:"description,omitempty"`
|
|
|
|
|
2018-09-11 07:11:02 +00:00
|
|
|
Meta map[string]map[string]string `json:"meta,omitempty"`
|
|
|
|
DiscoveredBy []string `json:"discoveredBy,omitempty"`
|
|
|
|
DiscoveredDate *util.Timestamp `json:"discoveredDate,omitempty"`
|
2018-08-12 10:46:46 +00:00
|
|
|
|
2018-09-11 07:11:02 +00:00
|
|
|
Port *Port `json:"port,omitempty"`
|
2018-08-12 10:46:46 +00:00
|
|
|
}
|