overflow_commons_go/modules/discovery/model/Host.go

19 lines
375 B
Go
Raw Normal View History

2017-12-04 06:30:56 +00:00
package model
import (
"encoding/json"
"git.loafle.net/overflow/overflow_commons_go/util"
)
type Host struct {
Zone *Zone `json:"zone"`
ID json.Number `json:"id,Number,omitempty"`
IP string `json:"ip,omitempty"`
Mac string `json:"mac,omitempty"`
OS string `json:"os,omitempty"`
DiscoveredDate util.Timestamp `json:"discoveredDate,omitempty"`
}