overflow_discovery/net/model/host.go
crusader cb7a0cea64 ing
2017-10-20 18:09:07 +09:00

17 lines
456 B
Go

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"`
}