model/scan/Host.go

18 lines
451 B
Go
Raw Normal View History

2018-08-12 10:46:46 +00:00
package discovery
import (
"git.loafle.net/overflow/model/meta"
"git.loafle.net/overflow/model/util"
)
type Host struct {
MetaIPType *meta.MetaIPType `json:"metaIPType,omitempty"`
Address string `json:"address,omitempty"`
Mac string `json:"mac,omitempty"`
Zone *Zone `json:"zone,omitempty"`
PortList []*Port `json:"portList,omitempty"`
DiscoveredDate *util.Timestamp `json:"discoveredDate,omitempty"`
}