ing
This commit is contained in:
parent
9bc4c88c22
commit
2095385d61
1
modules/config/config.go
Normal file
1
modules/config/config.go
Normal file
|
@ -0,0 +1 @@
|
||||||
|
package config
|
|
@ -1,6 +1,5 @@
|
||||||
package model
|
package model
|
||||||
|
|
||||||
|
|
||||||
type DiscoveryService struct {
|
type DiscoveryService struct {
|
||||||
IncludeServices []string `json:"includeServices,omitempty"`
|
IncludeServices []string `json:"includeServices,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,11 +7,11 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
type Service struct {
|
type Service struct {
|
||||||
Port *Port `json:"port,omitempty"`
|
Port *Port `json:"port,omitempty"`
|
||||||
|
|
||||||
ID json.Number `json:"id,Number,omitempty"`
|
ID json.Number `json:"id,Number,omitempty"`
|
||||||
CryptoType string `json:"cryptoType,omitempty"`
|
CryptoType string `json:"cryptoType,omitempty"`
|
||||||
ServiceName string `json:"serviceName,omitempty"`
|
ServiceName string `json:"serviceName,omitempty"`
|
||||||
|
|
||||||
DiscoveredDate util.Timestamp `json:"discoveredDate,omitempty"`
|
DiscoveredDate util.Timestamp `json:"discoveredDate,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,11 +8,11 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
type Zone struct {
|
type Zone struct {
|
||||||
ID json.Number `json:"id,Number,omitempty"`
|
ID json.Number `json:"id,Number,omitempty"`
|
||||||
Network string `json:"network,omitempty"`
|
Network string `json:"network,omitempty"`
|
||||||
IP string `json:"ip,omitempty"`
|
IP string `json:"ip,omitempty"`
|
||||||
Iface string `json:"iface,omitempty"`
|
Iface string `json:"iface,omitempty"`
|
||||||
Mac string `json:"mac,omitempty"`
|
Mac string `json:"mac,omitempty"`
|
||||||
|
|
||||||
DiscoveredDate util.Timestamp `json:"discoveredDate,omitempty"`
|
DiscoveredDate util.Timestamp `json:"discoveredDate,omitempty"`
|
||||||
|
|
||||||
|
|
|
@ -19,4 +19,3 @@ type NoAuthProbe struct {
|
||||||
Domain *domain.DomainMember `json:"domain,omitempty"`
|
Domain *domain.DomainMember `json:"domain,omitempty"`
|
||||||
Probe *probe.Probe `json:"probe,omitempty"`
|
Probe *probe.Probe `json:"probe,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user