This commit is contained in:
crusader 2017-12-03 14:50:37 +09:00
parent 3b4553270f
commit bea6e13c19

View File

@ -10,9 +10,9 @@ type Host struct {
ID json.Number `json:"id,Number,omitempty"` ID json.Number `json:"id,Number,omitempty"`
IP int64 `json:"ip,omitempty"` IP int64 `json:"ip,omitempty"`
Mac int64 `json:"mac,omitempty"` Mac int64 `json:"mac,omitempty"`
CreateDate util.Timestamp `json:"createDate,omitempty"` OS string `json:"os,omitempty"`
UpdateDate util.Timestamp `json:"updateDate,omitempty"`
Os string `json:"os,omitempty"`
Target bool `json:"target,omitempty"` Target bool `json:"target,omitempty"`
Ports []*Port `json:"ports,omitempty"` Ports []*Port `json:"ports,omitempty"`
CreateDate util.Timestamp `json:"createDate,omitempty"`
UpdateDate util.Timestamp `json:"updateDate,omitempty"`
} }