2018-04-12 09:38:04 +00:00
|
|
|
package model
|
|
|
|
|
|
|
|
import (
|
|
|
|
"encoding/json"
|
|
|
|
|
2018-04-19 08:25:56 +00:00
|
|
|
"git.loafle.net/overflow/commons-go/core/constants"
|
2018-04-12 09:38:04 +00:00
|
|
|
"git.loafle.net/overflow/commons-go/core/util"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Service struct {
|
|
|
|
Port *Port `json:"port,omitempty"`
|
|
|
|
|
2018-04-19 08:25:56 +00:00
|
|
|
ID json.Number `json:"id,Number,omitempty"`
|
|
|
|
CryptoType constants.CryptoType `json:"cryptoType,omitempty"`
|
|
|
|
ServiceName string `json:"serviceName,omitempty"`
|
2018-04-12 09:38:04 +00:00
|
|
|
|
|
|
|
DiscoveredDate util.Timestamp `json:"discoveredDate,omitempty"`
|
|
|
|
}
|