overflow_commons_go/modules/discovery/model/Host.go
crusader a0c0fefa8d ing
2017-12-04 15:30:56 +09:00

19 lines
375 B
Go

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