diff --git a/modules/config/config.go b/modules/sensor_config/config.go similarity index 100% rename from modules/config/config.go rename to modules/sensor_config/config.go diff --git a/modules/config/model/Connection.go b/modules/sensor_config/model/Connection.go similarity index 100% rename from modules/config/model/Connection.go rename to modules/sensor_config/model/Connection.go diff --git a/modules/config/model/Crawler.go b/modules/sensor_config/model/Crawler.go similarity index 100% rename from modules/config/model/Crawler.go rename to modules/sensor_config/model/Crawler.go diff --git a/modules/config/model/Item.go b/modules/sensor_config/model/Item.go similarity index 100% rename from modules/config/model/Item.go rename to modules/sensor_config/model/Item.go diff --git a/modules/config/model/Keys.go b/modules/sensor_config/model/Keys.go similarity index 100% rename from modules/config/model/Keys.go rename to modules/sensor_config/model/Keys.go diff --git a/modules/config/model/MappingInfo.go b/modules/sensor_config/model/MappingInfo.go similarity index 100% rename from modules/config/model/MappingInfo.go rename to modules/sensor_config/model/MappingInfo.go diff --git a/modules/config/model/QueryInfo.go b/modules/sensor_config/model/QueryInfo.go similarity index 100% rename from modules/config/model/QueryInfo.go rename to modules/sensor_config/model/QueryInfo.go diff --git a/modules/config/model/ResultSet.go b/modules/sensor_config/model/ResultSet.go similarity index 100% rename from modules/config/model/ResultSet.go rename to modules/sensor_config/model/ResultSet.go diff --git a/modules/config/model/ResultSetCol.go b/modules/sensor_config/model/ResultSetCol.go similarity index 100% rename from modules/config/model/ResultSetCol.go rename to modules/sensor_config/model/ResultSetCol.go diff --git a/modules/config/model/ResultSetRow.go b/modules/sensor_config/model/ResultSetRow.go similarity index 100% rename from modules/config/model/ResultSetRow.go rename to modules/sensor_config/model/ResultSetRow.go diff --git a/modules/config/model/Schedule.go b/modules/sensor_config/model/Schedule.go similarity index 100% rename from modules/config/model/Schedule.go rename to modules/sensor_config/model/Schedule.go diff --git a/modules/config/model/Config.go b/modules/sensor_config/model/SensorConfig.go similarity index 91% rename from modules/config/model/Config.go rename to modules/sensor_config/model/SensorConfig.go index f293d39..399b8ab 100644 --- a/modules/config/model/Config.go +++ b/modules/sensor_config/model/SensorConfig.go @@ -2,7 +2,7 @@ package model import "encoding/json" -type Config struct { +type SensorConfig struct { ID json.Number `json:"id,Number,omitempty"` Target *Target `json:"target,omitempty"` Schedule *Schedule `json:"schedule,omitempty"` diff --git a/modules/config/model/Target.go b/modules/sensor_config/model/Target.go similarity index 100% rename from modules/config/model/Target.go rename to modules/sensor_config/model/Target.go diff --git a/modules/config/util/Util.go b/modules/sensor_config/util/Util.go similarity index 100% rename from modules/config/util/Util.go rename to modules/sensor_config/util/Util.go