model/discovery/Host.go
2018-08-28 19:42:07 +09:00

19 lines
508 B
Go

package discovery
import (
"git.loafle.net/overflow/model/meta"
"git.loafle.net/overflow/model/util"
)
type Host struct {
MetaIPType *meta.MetaIPType `json:"metaIPType,omitempty"`
Address string `json:"address,omitempty"`
Mac string `json:"mac,omitempty"`
Meta map[string]string `json:"meta,omitempty"`
Zone *Zone `json:"zone,omitempty"`
PortList []*Port `json:"portList,omitempty"`
DiscoveredDate *util.Timestamp `json:"discoveredDate,omitempty"`
}