commons-go/model/discovery/Host.go

20 lines
423 B
Go
Raw Normal View History

2018-04-26 07:37:59 +00:00
package discovery
2018-04-12 09:38:04 +00:00
import (
"encoding/json"
"git.loafle.net/overflow/commons-go/core/util"
)
type Host struct {
Zone *Zone `json:"zone"`
2018-04-27 16:48:46 +00:00
ID json.Number `json:"id,Number,omitempty"`
IPV4 string `json:"ipv4,omitempty"`
IPV6 string `json:"ipv6,omitempty"`
Mac string `json:"mac,omitempty"`
OS string `json:"os,omitempty"`
2018-04-12 09:38:04 +00:00
DiscoveredDate util.Timestamp `json:"discoveredDate,omitempty"`
}