2017-12-04 06:30:56 +00:00
|
|
|
package model
|
|
|
|
|
|
|
|
import (
|
|
|
|
"encoding/json"
|
|
|
|
|
|
|
|
util "git.loafle.net/overflow/overflow_commons_go/util"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Service struct {
|
2017-12-04 10:42:13 +00:00
|
|
|
Port *Port `json:"port,omitempty"`
|
2017-12-04 06:30:56 +00:00
|
|
|
|
2017-12-04 10:42:13 +00:00
|
|
|
ID json.Number `json:"id,Number,omitempty"`
|
|
|
|
CryptoType string `json:"cryptoType,omitempty"`
|
|
|
|
ServiceName string `json:"serviceName,omitempty"`
|
2017-12-04 06:30:56 +00:00
|
|
|
|
|
|
|
DiscoveredDate util.Timestamp `json:"discoveredDate,omitempty"`
|
|
|
|
}
|