overflow_commons_go/modules/discovery/model/Host.go
crusader 597eda88ed ing
2017-12-01 15:04:31 +09:00

19 lines
546 B
Go

package model
import (
"encoding/json"
util "git.loafle.net/overflow/overflow_commons_go/util"
)
type Host struct {
ID json.Number `json:"id,Number,omitempty"`
IP int64 `json:"ip,omitempty"`
Mac int64 `json:"mac,omitempty"`
CreateDate util.Timestamp `json:"createDate,omitempty"`
UpdateDate util.Timestamp `json:"updateDate,omitempty"`
Os string `json:"os,omitempty"`
Target bool `json:"target,omitempty"`
Ports []*Port `json:"ports,omitempty"`
}