model/discovery/Host.go

20 lines
562 B
Go
Raw Normal View History

2018-08-12 10:46:46 +00:00
package discovery
import (
"git.loafle.net/overflow/model/meta"
"git.loafle.net/overflow/model/util"
)
type Host struct {
2018-08-28 10:42:07 +00:00
MetaIPType *meta.MetaIPType `json:"metaIPType,omitempty"`
2018-08-28 14:36:36 +00:00
Name string `json:"name,omitempty"`
2018-08-28 10:42:07 +00:00
Address string `json:"address,omitempty"`
Mac string `json:"mac,omitempty"`
Meta map[string]string `json:"meta,omitempty"`
2018-08-12 10:46:46 +00:00
Zone *Zone `json:"zone,omitempty"`
PortList []*Port `json:"portList,omitempty"`
DiscoveredDate *util.Timestamp `json:"discoveredDate,omitempty"`
}