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