2018-04-26 07:37:59 +00:00
|
|
|
package infra
|
2018-04-12 09:38:04 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"encoding/json"
|
|
|
|
|
|
|
|
"git.loafle.net/overflow/commons-go/core/util"
|
2018-04-26 07:37:59 +00:00
|
|
|
"git.loafle.net/overflow/commons-go/model/meta"
|
2018-04-12 09:38:04 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type InfraOSPort struct {
|
|
|
|
Infra
|
|
|
|
InfraOS *InfraOS `json:"os,omitempty"`
|
|
|
|
CreateDate util.Timestamp `json:"createDate,omitempty"`
|
|
|
|
Port json.Number `json:"port,omitempty"`
|
|
|
|
PortType string `json:"portType,omitempty"`
|
|
|
|
MetaInfraVendor *meta.MetaInfraVendor `json:"vendor,omitempty"`
|
|
|
|
TLSType bool `json:"tlsType,omitempty"`
|
|
|
|
}
|