overflow_discovery/net/model/host.go

17 lines
456 B
Go
Raw Normal View History

2017-10-20 09:09:07 +00:00
package model
import "git.loafle.net/overflow/overflow_probe/model/timestamp"
type DiscoveryHost struct {
Zone *DiscoveryZone `json:"-"`
ID int `json:"id,omitempty"`
IP string `json:"ip"`
Mac string `json:"mac"`
Os string `json:"os,omitempty"`
Target bool `json:"target,omitempty"`
CreateDate timestamp.Timestamp `json:"createDate,omitempty"`
UpdateDate timestamp.Timestamp `json:"updateDate,omitempty"`
}