model/discovery/Host.go
crusader a9833d3070 ing
2018-09-05 05:43:44 +09:00

21 lines
626 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"`
Name string `json:"name,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"`
DiscoveredBy string `json:"discoveredBy,omitempty"`
DiscoveredDate *util.Timestamp `json:"discoveredDate,omitempty"`
}