model/discovery/Service.go
2018-08-13 17:12:55 +09:00

19 lines
559 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"`
Port *Port `json:"port,omitempty"`
DiscoveredDate *util.Timestamp `json:"discoveredDate,omitempty"`
Metadata map[string]string `json:"metadata,omitempty"`
}