model/discovery/Service.go

19 lines
559 B
Go
Raw Normal View History

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"`
Port *Port `json:"port,omitempty"`
2018-08-13 08:12:55 +00:00
DiscoveredDate *util.Timestamp `json:"discoveredDate,omitempty"`
Metadata map[string]string `json:"metadata,omitempty"`
2018-08-12 10:46:46 +00:00
}