Administrator e3719d6d59 Revert "meta,discovery moved to overflow/"
This reverts commit 06a799f5a6c11b64035f539312c896c781c4501d
2018-08-13 01:43:12 +00:00

21 lines
539 B
Go

package discovery
import (
"encoding/json"
"git.loafle.net/overflow/commons-go/core/util"
"git.loafle.net/overflow/commons-go/model/meta"
"github.com/google/gopacket"
)
type Port struct {
MetaPortType *meta.MetaPortType `json:"metaPortType,omitempty"`
PortNumber json.Number `json:"portNumber,omitempty"`
DiscoveredDate *util.Timestamp `json:"discoveredDate,omitempty"`
Host *Host `json:"host,omitempty"`
ServiceList []*Service `json:"serviceList,omitempty"`
UDPLayer gopacket.Layer `json:"-"`
}