Administrator e3719d6d59 Revert "meta,discovery moved to overflow/"
This reverts commit 06a799f5a6c11b64035f539312c896c781c4501d
2018-08-13 01:43:12 +00:00

21 lines
532 B
Go

package discovery
import (
"sync"
"git.loafle.net/overflow/commons-go/core/util"
"git.loafle.net/overflow/commons-go/model/meta"
)
type Zone struct {
Network string `json:"network,omitempty"`
Iface string `json:"iface,omitempty"`
MetaIPType *meta.MetaIPType `json:"metaIPType,omitempty"`
Address string `json:"address,omitempty"`
Mac string `json:"mac,omitempty"`
DiscoveredDate *util.Timestamp `json:"discoveredDate,omitempty"`
mtx sync.RWMutex `json:"-"`
}