This commit is contained in:
crusader 2017-12-04 19:42:13 +09:00
parent 9bc4c88c22
commit 2095385d61
7 changed files with 12 additions and 13 deletions

1
modules/config/config.go Normal file
View File

@ -0,0 +1 @@
package config

View File

@ -1,6 +1,5 @@
package model
type DiscoveryService struct {
IncludeServices []string `json:"includeServices,omitempty"`
}

View File

@ -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"`
}

View File

@ -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"`

View File

@ -19,4 +19,3 @@ type NoAuthProbe struct {
Domain *domain.DomainMember `json:"domain,omitempty"`
Probe *probe.Probe `json:"probe,omitempty"`
}