ing
This commit is contained in:
@@ -7,8 +7,8 @@ import (
|
||||
)
|
||||
|
||||
type Connection struct {
|
||||
IP string `json:"ip,omitempty"`
|
||||
Port json.Number `json:"port,Number,omitempty"`
|
||||
MetaPortType *meta.MetaPortType `json:"metaPortType,omitempty"`
|
||||
SSL bool `json:"ssl,omitempty"`
|
||||
IP string `json:"ip,omitempty"`
|
||||
Port json.Number `json:"port,Number,omitempty"`
|
||||
MetaPortType *meta.MetaPortType `json:"metaPortType,omitempty"`
|
||||
MetaCryptoType *meta.MetaCryptoType `json:"metaCryptoType,omitempty"`
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package sensorconfig
|
||||
|
||||
type Item struct {
|
||||
Keys []Keys `json:"keys,omitempty"`
|
||||
Keys []*Keys `json:"keys,omitempty"`
|
||||
QueryInfo *QueryInfo `json:"queryInfo,omitempty"`
|
||||
MappingInfo *MappingInfo `json:"mappingInfo,omitempty"`
|
||||
}
|
||||
|
||||
@@ -8,5 +8,5 @@ type SensorConfig struct {
|
||||
Target *Target `json:"target,omitempty"`
|
||||
Schedule *Schedule `json:"schedule,omitempty"`
|
||||
Crawler *Crawler `json:"crawler,omitempty"`
|
||||
Items []Item `json:"items,omitempty"`
|
||||
Items []*Item `json:"items,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user