From 1927622b6513a3a8f6b9ca9c4f89786e3d1ea0a6 Mon Sep 17 00:00:00 2001 From: Sydonian <794346190@qq.com> Date: Tue, 29 Aug 2023 15:29:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md => common/README.md | 0 {assets => common/assets}/confs/agent.config.json | 0 {assets => common/assets}/confs/client.config.json | 0 {assets => common/assets}/confs/coordinator.config.json | 0 {assets => common/assets}/confs/scanner.config.json | 0 {assets => common/assets}/confs/sysSetting.xml | 0 {assets => common/assets}/scripts/create_database.sql | 0 {consts => common/consts}/consts.go | 0 {globals => common/globals}/globals.go | 0 {globals => common/globals}/pools.go | 0 go.mod => common/go.mod | 0 go.sum => common/go.sum | 0 {magefiles => common/magefiles}/main.go | 0 {models => common/models}/models.go | 0 {pkgs => common/pkgs}/cmd/cmd.go | 0 {pkgs => common/pkgs}/cmd/create_ec_package.go | 0 {pkgs => common/pkgs}/cmd/create_rep_package.go | 0 {pkgs => common/pkgs}/cmd/download_package.go | 0 {pkgs => common/pkgs}/cmd/update_ec_package.go | 0 {pkgs => common/pkgs}/cmd/update_rep_package.go | 0 {pkgs => common/pkgs}/db/bucket.go | 0 {pkgs => common/pkgs}/db/cache.go | 0 {pkgs => common/pkgs}/db/config/config.go | 0 {pkgs => common/pkgs}/db/db.go | 0 {pkgs => common/pkgs}/db/ec.go | 0 {pkgs => common/pkgs}/db/location.go | 0 {pkgs => common/pkgs}/db/model/model.go | 0 {pkgs => common/pkgs}/db/node.go | 0 {pkgs => common/pkgs}/db/object.go | 0 {pkgs => common/pkgs}/db/object_block.go | 0 {pkgs => common/pkgs}/db/object_rep.go | 0 {pkgs => common/pkgs}/db/package.go | 0 {pkgs => common/pkgs}/db/storage.go | 0 {pkgs => common/pkgs}/db/storage_package.go | 0 {pkgs => common/pkgs}/db/user_bucket.go | 0 {pkgs => common/pkgs}/distlock/lockprovider/ipfs_lock.go | 0 {pkgs => common/pkgs}/distlock/lockprovider/ipfs_lock_test.go | 0 .../pkgs}/distlock/lockprovider/lock_compatibility_table.go | 0 .../pkgs}/distlock/lockprovider/lock_compatibility_table_test.go | 0 {pkgs => common/pkgs}/distlock/lockprovider/metadata_lock.go | 0 {pkgs => common/pkgs}/distlock/lockprovider/storage_lock.go | 0 {pkgs => common/pkgs}/distlock/lockprovider/string_lock_target.go | 0 .../pkgs}/distlock/lockprovider/string_lock_target_test.go | 0 {pkgs => common/pkgs}/distlock/reqbuilder/ipfs.go | 0 {pkgs => common/pkgs}/distlock/reqbuilder/lock_request_builder.go | 0 {pkgs => common/pkgs}/distlock/reqbuilder/metadata.go | 0 {pkgs => common/pkgs}/distlock/reqbuilder/metadata_bucket.go | 0 {pkgs => common/pkgs}/distlock/reqbuilder/metadata_cache.go | 0 {pkgs => common/pkgs}/distlock/reqbuilder/metadata_node.go | 0 {pkgs => common/pkgs}/distlock/reqbuilder/metadata_object.go | 0 .../pkgs}/distlock/reqbuilder/metadata_object_block.go | 0 {pkgs => common/pkgs}/distlock/reqbuilder/metadata_object_rep.go | 0 {pkgs => common/pkgs}/distlock/reqbuilder/metadata_package.go | 0 .../pkgs}/distlock/reqbuilder/metadata_storage_package.go | 0 {pkgs => common/pkgs}/distlock/reqbuilder/metadata_user_bucket.go | 0 .../pkgs}/distlock/reqbuilder/metadata_user_storage.go | 0 {pkgs => common/pkgs}/distlock/reqbuilder/storage.go | 0 {pkgs => common/pkgs}/distlock/service.go | 0 {pkgs => common/pkgs}/ec/rs.go | 0 {pkgs => common/pkgs}/grpc/agent/agent.pb.go | 0 {pkgs => common/pkgs}/grpc/agent/agent.proto | 0 {pkgs => common/pkgs}/grpc/agent/agent_grpc.pb.go | 0 {pkgs => common/pkgs}/grpc/agent/client.go | 0 {pkgs => common/pkgs}/grpc/agent/pool.go | 0 {pkgs => common/pkgs}/grpc/config.go | 0 {pkgs => common/pkgs}/iterator/ec_object_iterator.go | 0 {pkgs => common/pkgs}/iterator/http_uploading_iterator.go | 0 {pkgs => common/pkgs}/iterator/iterator.go | 0 {pkgs => common/pkgs}/iterator/local_uploading_iterator.go | 0 {pkgs => common/pkgs}/iterator/rep_object_iterator.go | 0 {pkgs => common/pkgs}/mq/agent/agent.go | 0 {pkgs => common/pkgs}/mq/agent/cache.go | 0 {pkgs => common/pkgs}/mq/agent/client.go | 0 {pkgs => common/pkgs}/mq/agent/object.go | 0 {pkgs => common/pkgs}/mq/agent/server.go | 0 {pkgs => common/pkgs}/mq/agent/storage.go | 0 {pkgs => common/pkgs}/mq/config.go | 0 {pkgs => common/pkgs}/mq/consts.go | 0 {pkgs => common/pkgs}/mq/coordinator/agent.go | 0 {pkgs => common/pkgs}/mq/coordinator/bucket.go | 0 {pkgs => common/pkgs}/mq/coordinator/cache.go | 0 {pkgs => common/pkgs}/mq/coordinator/client.go | 0 {pkgs => common/pkgs}/mq/coordinator/common.go | 0 {pkgs => common/pkgs}/mq/coordinator/coordinator_test.go | 0 {pkgs => common/pkgs}/mq/coordinator/node.go | 0 {pkgs => common/pkgs}/mq/coordinator/object.go | 0 {pkgs => common/pkgs}/mq/coordinator/package.go | 0 {pkgs => common/pkgs}/mq/coordinator/server.go | 0 {pkgs => common/pkgs}/mq/coordinator/storage.go | 0 {pkgs => common/pkgs}/mq/scanner/client.go | 0 {pkgs => common/pkgs}/mq/scanner/event.go | 0 {pkgs => common/pkgs}/mq/scanner/event/agent_check_cache.go | 0 {pkgs => common/pkgs}/mq/scanner/event/agent_check_state.go | 0 {pkgs => common/pkgs}/mq/scanner/event/agent_check_storage.go | 0 {pkgs => common/pkgs}/mq/scanner/event/check_cache.go | 0 {pkgs => common/pkgs}/mq/scanner/event/check_package.go | 0 {pkgs => common/pkgs}/mq/scanner/event/check_rep_count.go | 0 {pkgs => common/pkgs}/mq/scanner/event/event.go | 0 {pkgs => common/pkgs}/mq/scanner/server.go | 0 {utils => common/utils}/config.go | 0 {utils => common/utils}/ping.go | 0 {utils => common/utils}/utils.go | 0 102 files changed, 0 insertions(+), 0 deletions(-) rename README.md => common/README.md (100%) rename {assets => common/assets}/confs/agent.config.json (100%) rename {assets => common/assets}/confs/client.config.json (100%) rename {assets => common/assets}/confs/coordinator.config.json (100%) rename {assets => common/assets}/confs/scanner.config.json (100%) rename {assets => common/assets}/confs/sysSetting.xml (100%) rename {assets => common/assets}/scripts/create_database.sql (100%) rename {consts => common/consts}/consts.go (100%) rename {globals => common/globals}/globals.go (100%) rename {globals => common/globals}/pools.go (100%) rename go.mod => common/go.mod (100%) rename go.sum => common/go.sum (100%) rename {magefiles => common/magefiles}/main.go (100%) rename {models => common/models}/models.go (100%) rename {pkgs => common/pkgs}/cmd/cmd.go (100%) rename {pkgs => common/pkgs}/cmd/create_ec_package.go (100%) rename {pkgs => common/pkgs}/cmd/create_rep_package.go (100%) rename {pkgs => common/pkgs}/cmd/download_package.go (100%) rename {pkgs => common/pkgs}/cmd/update_ec_package.go (100%) rename {pkgs => common/pkgs}/cmd/update_rep_package.go (100%) rename {pkgs => common/pkgs}/db/bucket.go (100%) rename {pkgs => common/pkgs}/db/cache.go (100%) rename {pkgs => common/pkgs}/db/config/config.go (100%) rename {pkgs => common/pkgs}/db/db.go (100%) rename {pkgs => common/pkgs}/db/ec.go (100%) rename {pkgs => common/pkgs}/db/location.go (100%) rename {pkgs => common/pkgs}/db/model/model.go (100%) rename {pkgs => common/pkgs}/db/node.go (100%) rename {pkgs => common/pkgs}/db/object.go (100%) rename {pkgs => common/pkgs}/db/object_block.go (100%) rename {pkgs => common/pkgs}/db/object_rep.go (100%) rename {pkgs => common/pkgs}/db/package.go (100%) rename {pkgs => common/pkgs}/db/storage.go (100%) rename {pkgs => common/pkgs}/db/storage_package.go (100%) rename {pkgs => common/pkgs}/db/user_bucket.go (100%) rename {pkgs => common/pkgs}/distlock/lockprovider/ipfs_lock.go (100%) rename {pkgs => common/pkgs}/distlock/lockprovider/ipfs_lock_test.go (100%) rename {pkgs => common/pkgs}/distlock/lockprovider/lock_compatibility_table.go (100%) rename {pkgs => common/pkgs}/distlock/lockprovider/lock_compatibility_table_test.go (100%) rename {pkgs => common/pkgs}/distlock/lockprovider/metadata_lock.go (100%) rename {pkgs => common/pkgs}/distlock/lockprovider/storage_lock.go (100%) rename {pkgs => common/pkgs}/distlock/lockprovider/string_lock_target.go (100%) rename {pkgs => common/pkgs}/distlock/lockprovider/string_lock_target_test.go (100%) rename {pkgs => common/pkgs}/distlock/reqbuilder/ipfs.go (100%) rename {pkgs => common/pkgs}/distlock/reqbuilder/lock_request_builder.go (100%) rename {pkgs => common/pkgs}/distlock/reqbuilder/metadata.go (100%) rename {pkgs => common/pkgs}/distlock/reqbuilder/metadata_bucket.go (100%) rename {pkgs => common/pkgs}/distlock/reqbuilder/metadata_cache.go (100%) rename {pkgs => common/pkgs}/distlock/reqbuilder/metadata_node.go (100%) rename {pkgs => common/pkgs}/distlock/reqbuilder/metadata_object.go (100%) rename {pkgs => common/pkgs}/distlock/reqbuilder/metadata_object_block.go (100%) rename {pkgs => common/pkgs}/distlock/reqbuilder/metadata_object_rep.go (100%) rename {pkgs => common/pkgs}/distlock/reqbuilder/metadata_package.go (100%) rename {pkgs => common/pkgs}/distlock/reqbuilder/metadata_storage_package.go (100%) rename {pkgs => common/pkgs}/distlock/reqbuilder/metadata_user_bucket.go (100%) rename {pkgs => common/pkgs}/distlock/reqbuilder/metadata_user_storage.go (100%) rename {pkgs => common/pkgs}/distlock/reqbuilder/storage.go (100%) rename {pkgs => common/pkgs}/distlock/service.go (100%) rename {pkgs => common/pkgs}/ec/rs.go (100%) rename {pkgs => common/pkgs}/grpc/agent/agent.pb.go (100%) rename {pkgs => common/pkgs}/grpc/agent/agent.proto (100%) rename {pkgs => common/pkgs}/grpc/agent/agent_grpc.pb.go (100%) rename {pkgs => common/pkgs}/grpc/agent/client.go (100%) rename {pkgs => common/pkgs}/grpc/agent/pool.go (100%) rename {pkgs => common/pkgs}/grpc/config.go (100%) rename {pkgs => common/pkgs}/iterator/ec_object_iterator.go (100%) rename {pkgs => common/pkgs}/iterator/http_uploading_iterator.go (100%) rename {pkgs => common/pkgs}/iterator/iterator.go (100%) rename {pkgs => common/pkgs}/iterator/local_uploading_iterator.go (100%) rename {pkgs => common/pkgs}/iterator/rep_object_iterator.go (100%) rename {pkgs => common/pkgs}/mq/agent/agent.go (100%) rename {pkgs => common/pkgs}/mq/agent/cache.go (100%) rename {pkgs => common/pkgs}/mq/agent/client.go (100%) rename {pkgs => common/pkgs}/mq/agent/object.go (100%) rename {pkgs => common/pkgs}/mq/agent/server.go (100%) rename {pkgs => common/pkgs}/mq/agent/storage.go (100%) rename {pkgs => common/pkgs}/mq/config.go (100%) rename {pkgs => common/pkgs}/mq/consts.go (100%) rename {pkgs => common/pkgs}/mq/coordinator/agent.go (100%) rename {pkgs => common/pkgs}/mq/coordinator/bucket.go (100%) rename {pkgs => common/pkgs}/mq/coordinator/cache.go (100%) rename {pkgs => common/pkgs}/mq/coordinator/client.go (100%) rename {pkgs => common/pkgs}/mq/coordinator/common.go (100%) rename {pkgs => common/pkgs}/mq/coordinator/coordinator_test.go (100%) rename {pkgs => common/pkgs}/mq/coordinator/node.go (100%) rename {pkgs => common/pkgs}/mq/coordinator/object.go (100%) rename {pkgs => common/pkgs}/mq/coordinator/package.go (100%) rename {pkgs => common/pkgs}/mq/coordinator/server.go (100%) rename {pkgs => common/pkgs}/mq/coordinator/storage.go (100%) rename {pkgs => common/pkgs}/mq/scanner/client.go (100%) rename {pkgs => common/pkgs}/mq/scanner/event.go (100%) rename {pkgs => common/pkgs}/mq/scanner/event/agent_check_cache.go (100%) rename {pkgs => common/pkgs}/mq/scanner/event/agent_check_state.go (100%) rename {pkgs => common/pkgs}/mq/scanner/event/agent_check_storage.go (100%) rename {pkgs => common/pkgs}/mq/scanner/event/check_cache.go (100%) rename {pkgs => common/pkgs}/mq/scanner/event/check_package.go (100%) rename {pkgs => common/pkgs}/mq/scanner/event/check_rep_count.go (100%) rename {pkgs => common/pkgs}/mq/scanner/event/event.go (100%) rename {pkgs => common/pkgs}/mq/scanner/server.go (100%) rename {utils => common/utils}/config.go (100%) rename {utils => common/utils}/ping.go (100%) rename {utils => common/utils}/utils.go (100%) diff --git a/README.md b/common/README.md similarity index 100% rename from README.md rename to common/README.md diff --git a/assets/confs/agent.config.json b/common/assets/confs/agent.config.json similarity index 100% rename from assets/confs/agent.config.json rename to common/assets/confs/agent.config.json diff --git a/assets/confs/client.config.json b/common/assets/confs/client.config.json similarity index 100% rename from assets/confs/client.config.json rename to common/assets/confs/client.config.json diff --git a/assets/confs/coordinator.config.json b/common/assets/confs/coordinator.config.json similarity index 100% rename from assets/confs/coordinator.config.json rename to common/assets/confs/coordinator.config.json diff --git a/assets/confs/scanner.config.json b/common/assets/confs/scanner.config.json similarity index 100% rename from assets/confs/scanner.config.json rename to common/assets/confs/scanner.config.json diff --git a/assets/confs/sysSetting.xml b/common/assets/confs/sysSetting.xml similarity index 100% rename from assets/confs/sysSetting.xml rename to common/assets/confs/sysSetting.xml diff --git a/assets/scripts/create_database.sql b/common/assets/scripts/create_database.sql similarity index 100% rename from assets/scripts/create_database.sql rename to common/assets/scripts/create_database.sql diff --git a/consts/consts.go b/common/consts/consts.go similarity index 100% rename from consts/consts.go rename to common/consts/consts.go diff --git a/globals/globals.go b/common/globals/globals.go similarity index 100% rename from globals/globals.go rename to common/globals/globals.go diff --git a/globals/pools.go b/common/globals/pools.go similarity index 100% rename from globals/pools.go rename to common/globals/pools.go diff --git a/go.mod b/common/go.mod similarity index 100% rename from go.mod rename to common/go.mod diff --git a/go.sum b/common/go.sum similarity index 100% rename from go.sum rename to common/go.sum diff --git a/magefiles/main.go b/common/magefiles/main.go similarity index 100% rename from magefiles/main.go rename to common/magefiles/main.go diff --git a/models/models.go b/common/models/models.go similarity index 100% rename from models/models.go rename to common/models/models.go diff --git a/pkgs/cmd/cmd.go b/common/pkgs/cmd/cmd.go similarity index 100% rename from pkgs/cmd/cmd.go rename to common/pkgs/cmd/cmd.go diff --git a/pkgs/cmd/create_ec_package.go b/common/pkgs/cmd/create_ec_package.go similarity index 100% rename from pkgs/cmd/create_ec_package.go rename to common/pkgs/cmd/create_ec_package.go diff --git a/pkgs/cmd/create_rep_package.go b/common/pkgs/cmd/create_rep_package.go similarity index 100% rename from pkgs/cmd/create_rep_package.go rename to common/pkgs/cmd/create_rep_package.go diff --git a/pkgs/cmd/download_package.go b/common/pkgs/cmd/download_package.go similarity index 100% rename from pkgs/cmd/download_package.go rename to common/pkgs/cmd/download_package.go diff --git a/pkgs/cmd/update_ec_package.go b/common/pkgs/cmd/update_ec_package.go similarity index 100% rename from pkgs/cmd/update_ec_package.go rename to common/pkgs/cmd/update_ec_package.go diff --git a/pkgs/cmd/update_rep_package.go b/common/pkgs/cmd/update_rep_package.go similarity index 100% rename from pkgs/cmd/update_rep_package.go rename to common/pkgs/cmd/update_rep_package.go diff --git a/pkgs/db/bucket.go b/common/pkgs/db/bucket.go similarity index 100% rename from pkgs/db/bucket.go rename to common/pkgs/db/bucket.go diff --git a/pkgs/db/cache.go b/common/pkgs/db/cache.go similarity index 100% rename from pkgs/db/cache.go rename to common/pkgs/db/cache.go diff --git a/pkgs/db/config/config.go b/common/pkgs/db/config/config.go similarity index 100% rename from pkgs/db/config/config.go rename to common/pkgs/db/config/config.go diff --git a/pkgs/db/db.go b/common/pkgs/db/db.go similarity index 100% rename from pkgs/db/db.go rename to common/pkgs/db/db.go diff --git a/pkgs/db/ec.go b/common/pkgs/db/ec.go similarity index 100% rename from pkgs/db/ec.go rename to common/pkgs/db/ec.go diff --git a/pkgs/db/location.go b/common/pkgs/db/location.go similarity index 100% rename from pkgs/db/location.go rename to common/pkgs/db/location.go diff --git a/pkgs/db/model/model.go b/common/pkgs/db/model/model.go similarity index 100% rename from pkgs/db/model/model.go rename to common/pkgs/db/model/model.go diff --git a/pkgs/db/node.go b/common/pkgs/db/node.go similarity index 100% rename from pkgs/db/node.go rename to common/pkgs/db/node.go diff --git a/pkgs/db/object.go b/common/pkgs/db/object.go similarity index 100% rename from pkgs/db/object.go rename to common/pkgs/db/object.go diff --git a/pkgs/db/object_block.go b/common/pkgs/db/object_block.go similarity index 100% rename from pkgs/db/object_block.go rename to common/pkgs/db/object_block.go diff --git a/pkgs/db/object_rep.go b/common/pkgs/db/object_rep.go similarity index 100% rename from pkgs/db/object_rep.go rename to common/pkgs/db/object_rep.go diff --git a/pkgs/db/package.go b/common/pkgs/db/package.go similarity index 100% rename from pkgs/db/package.go rename to common/pkgs/db/package.go diff --git a/pkgs/db/storage.go b/common/pkgs/db/storage.go similarity index 100% rename from pkgs/db/storage.go rename to common/pkgs/db/storage.go diff --git a/pkgs/db/storage_package.go b/common/pkgs/db/storage_package.go similarity index 100% rename from pkgs/db/storage_package.go rename to common/pkgs/db/storage_package.go diff --git a/pkgs/db/user_bucket.go b/common/pkgs/db/user_bucket.go similarity index 100% rename from pkgs/db/user_bucket.go rename to common/pkgs/db/user_bucket.go diff --git a/pkgs/distlock/lockprovider/ipfs_lock.go b/common/pkgs/distlock/lockprovider/ipfs_lock.go similarity index 100% rename from pkgs/distlock/lockprovider/ipfs_lock.go rename to common/pkgs/distlock/lockprovider/ipfs_lock.go diff --git a/pkgs/distlock/lockprovider/ipfs_lock_test.go b/common/pkgs/distlock/lockprovider/ipfs_lock_test.go similarity index 100% rename from pkgs/distlock/lockprovider/ipfs_lock_test.go rename to common/pkgs/distlock/lockprovider/ipfs_lock_test.go diff --git a/pkgs/distlock/lockprovider/lock_compatibility_table.go b/common/pkgs/distlock/lockprovider/lock_compatibility_table.go similarity index 100% rename from pkgs/distlock/lockprovider/lock_compatibility_table.go rename to common/pkgs/distlock/lockprovider/lock_compatibility_table.go diff --git a/pkgs/distlock/lockprovider/lock_compatibility_table_test.go b/common/pkgs/distlock/lockprovider/lock_compatibility_table_test.go similarity index 100% rename from pkgs/distlock/lockprovider/lock_compatibility_table_test.go rename to common/pkgs/distlock/lockprovider/lock_compatibility_table_test.go diff --git a/pkgs/distlock/lockprovider/metadata_lock.go b/common/pkgs/distlock/lockprovider/metadata_lock.go similarity index 100% rename from pkgs/distlock/lockprovider/metadata_lock.go rename to common/pkgs/distlock/lockprovider/metadata_lock.go diff --git a/pkgs/distlock/lockprovider/storage_lock.go b/common/pkgs/distlock/lockprovider/storage_lock.go similarity index 100% rename from pkgs/distlock/lockprovider/storage_lock.go rename to common/pkgs/distlock/lockprovider/storage_lock.go diff --git a/pkgs/distlock/lockprovider/string_lock_target.go b/common/pkgs/distlock/lockprovider/string_lock_target.go similarity index 100% rename from pkgs/distlock/lockprovider/string_lock_target.go rename to common/pkgs/distlock/lockprovider/string_lock_target.go diff --git a/pkgs/distlock/lockprovider/string_lock_target_test.go b/common/pkgs/distlock/lockprovider/string_lock_target_test.go similarity index 100% rename from pkgs/distlock/lockprovider/string_lock_target_test.go rename to common/pkgs/distlock/lockprovider/string_lock_target_test.go diff --git a/pkgs/distlock/reqbuilder/ipfs.go b/common/pkgs/distlock/reqbuilder/ipfs.go similarity index 100% rename from pkgs/distlock/reqbuilder/ipfs.go rename to common/pkgs/distlock/reqbuilder/ipfs.go diff --git a/pkgs/distlock/reqbuilder/lock_request_builder.go b/common/pkgs/distlock/reqbuilder/lock_request_builder.go similarity index 100% rename from pkgs/distlock/reqbuilder/lock_request_builder.go rename to common/pkgs/distlock/reqbuilder/lock_request_builder.go diff --git a/pkgs/distlock/reqbuilder/metadata.go b/common/pkgs/distlock/reqbuilder/metadata.go similarity index 100% rename from pkgs/distlock/reqbuilder/metadata.go rename to common/pkgs/distlock/reqbuilder/metadata.go diff --git a/pkgs/distlock/reqbuilder/metadata_bucket.go b/common/pkgs/distlock/reqbuilder/metadata_bucket.go similarity index 100% rename from pkgs/distlock/reqbuilder/metadata_bucket.go rename to common/pkgs/distlock/reqbuilder/metadata_bucket.go diff --git a/pkgs/distlock/reqbuilder/metadata_cache.go b/common/pkgs/distlock/reqbuilder/metadata_cache.go similarity index 100% rename from pkgs/distlock/reqbuilder/metadata_cache.go rename to common/pkgs/distlock/reqbuilder/metadata_cache.go diff --git a/pkgs/distlock/reqbuilder/metadata_node.go b/common/pkgs/distlock/reqbuilder/metadata_node.go similarity index 100% rename from pkgs/distlock/reqbuilder/metadata_node.go rename to common/pkgs/distlock/reqbuilder/metadata_node.go diff --git a/pkgs/distlock/reqbuilder/metadata_object.go b/common/pkgs/distlock/reqbuilder/metadata_object.go similarity index 100% rename from pkgs/distlock/reqbuilder/metadata_object.go rename to common/pkgs/distlock/reqbuilder/metadata_object.go diff --git a/pkgs/distlock/reqbuilder/metadata_object_block.go b/common/pkgs/distlock/reqbuilder/metadata_object_block.go similarity index 100% rename from pkgs/distlock/reqbuilder/metadata_object_block.go rename to common/pkgs/distlock/reqbuilder/metadata_object_block.go diff --git a/pkgs/distlock/reqbuilder/metadata_object_rep.go b/common/pkgs/distlock/reqbuilder/metadata_object_rep.go similarity index 100% rename from pkgs/distlock/reqbuilder/metadata_object_rep.go rename to common/pkgs/distlock/reqbuilder/metadata_object_rep.go diff --git a/pkgs/distlock/reqbuilder/metadata_package.go b/common/pkgs/distlock/reqbuilder/metadata_package.go similarity index 100% rename from pkgs/distlock/reqbuilder/metadata_package.go rename to common/pkgs/distlock/reqbuilder/metadata_package.go diff --git a/pkgs/distlock/reqbuilder/metadata_storage_package.go b/common/pkgs/distlock/reqbuilder/metadata_storage_package.go similarity index 100% rename from pkgs/distlock/reqbuilder/metadata_storage_package.go rename to common/pkgs/distlock/reqbuilder/metadata_storage_package.go diff --git a/pkgs/distlock/reqbuilder/metadata_user_bucket.go b/common/pkgs/distlock/reqbuilder/metadata_user_bucket.go similarity index 100% rename from pkgs/distlock/reqbuilder/metadata_user_bucket.go rename to common/pkgs/distlock/reqbuilder/metadata_user_bucket.go diff --git a/pkgs/distlock/reqbuilder/metadata_user_storage.go b/common/pkgs/distlock/reqbuilder/metadata_user_storage.go similarity index 100% rename from pkgs/distlock/reqbuilder/metadata_user_storage.go rename to common/pkgs/distlock/reqbuilder/metadata_user_storage.go diff --git a/pkgs/distlock/reqbuilder/storage.go b/common/pkgs/distlock/reqbuilder/storage.go similarity index 100% rename from pkgs/distlock/reqbuilder/storage.go rename to common/pkgs/distlock/reqbuilder/storage.go diff --git a/pkgs/distlock/service.go b/common/pkgs/distlock/service.go similarity index 100% rename from pkgs/distlock/service.go rename to common/pkgs/distlock/service.go diff --git a/pkgs/ec/rs.go b/common/pkgs/ec/rs.go similarity index 100% rename from pkgs/ec/rs.go rename to common/pkgs/ec/rs.go diff --git a/pkgs/grpc/agent/agent.pb.go b/common/pkgs/grpc/agent/agent.pb.go similarity index 100% rename from pkgs/grpc/agent/agent.pb.go rename to common/pkgs/grpc/agent/agent.pb.go diff --git a/pkgs/grpc/agent/agent.proto b/common/pkgs/grpc/agent/agent.proto similarity index 100% rename from pkgs/grpc/agent/agent.proto rename to common/pkgs/grpc/agent/agent.proto diff --git a/pkgs/grpc/agent/agent_grpc.pb.go b/common/pkgs/grpc/agent/agent_grpc.pb.go similarity index 100% rename from pkgs/grpc/agent/agent_grpc.pb.go rename to common/pkgs/grpc/agent/agent_grpc.pb.go diff --git a/pkgs/grpc/agent/client.go b/common/pkgs/grpc/agent/client.go similarity index 100% rename from pkgs/grpc/agent/client.go rename to common/pkgs/grpc/agent/client.go diff --git a/pkgs/grpc/agent/pool.go b/common/pkgs/grpc/agent/pool.go similarity index 100% rename from pkgs/grpc/agent/pool.go rename to common/pkgs/grpc/agent/pool.go diff --git a/pkgs/grpc/config.go b/common/pkgs/grpc/config.go similarity index 100% rename from pkgs/grpc/config.go rename to common/pkgs/grpc/config.go diff --git a/pkgs/iterator/ec_object_iterator.go b/common/pkgs/iterator/ec_object_iterator.go similarity index 100% rename from pkgs/iterator/ec_object_iterator.go rename to common/pkgs/iterator/ec_object_iterator.go diff --git a/pkgs/iterator/http_uploading_iterator.go b/common/pkgs/iterator/http_uploading_iterator.go similarity index 100% rename from pkgs/iterator/http_uploading_iterator.go rename to common/pkgs/iterator/http_uploading_iterator.go diff --git a/pkgs/iterator/iterator.go b/common/pkgs/iterator/iterator.go similarity index 100% rename from pkgs/iterator/iterator.go rename to common/pkgs/iterator/iterator.go diff --git a/pkgs/iterator/local_uploading_iterator.go b/common/pkgs/iterator/local_uploading_iterator.go similarity index 100% rename from pkgs/iterator/local_uploading_iterator.go rename to common/pkgs/iterator/local_uploading_iterator.go diff --git a/pkgs/iterator/rep_object_iterator.go b/common/pkgs/iterator/rep_object_iterator.go similarity index 100% rename from pkgs/iterator/rep_object_iterator.go rename to common/pkgs/iterator/rep_object_iterator.go diff --git a/pkgs/mq/agent/agent.go b/common/pkgs/mq/agent/agent.go similarity index 100% rename from pkgs/mq/agent/agent.go rename to common/pkgs/mq/agent/agent.go diff --git a/pkgs/mq/agent/cache.go b/common/pkgs/mq/agent/cache.go similarity index 100% rename from pkgs/mq/agent/cache.go rename to common/pkgs/mq/agent/cache.go diff --git a/pkgs/mq/agent/client.go b/common/pkgs/mq/agent/client.go similarity index 100% rename from pkgs/mq/agent/client.go rename to common/pkgs/mq/agent/client.go diff --git a/pkgs/mq/agent/object.go b/common/pkgs/mq/agent/object.go similarity index 100% rename from pkgs/mq/agent/object.go rename to common/pkgs/mq/agent/object.go diff --git a/pkgs/mq/agent/server.go b/common/pkgs/mq/agent/server.go similarity index 100% rename from pkgs/mq/agent/server.go rename to common/pkgs/mq/agent/server.go diff --git a/pkgs/mq/agent/storage.go b/common/pkgs/mq/agent/storage.go similarity index 100% rename from pkgs/mq/agent/storage.go rename to common/pkgs/mq/agent/storage.go diff --git a/pkgs/mq/config.go b/common/pkgs/mq/config.go similarity index 100% rename from pkgs/mq/config.go rename to common/pkgs/mq/config.go diff --git a/pkgs/mq/consts.go b/common/pkgs/mq/consts.go similarity index 100% rename from pkgs/mq/consts.go rename to common/pkgs/mq/consts.go diff --git a/pkgs/mq/coordinator/agent.go b/common/pkgs/mq/coordinator/agent.go similarity index 100% rename from pkgs/mq/coordinator/agent.go rename to common/pkgs/mq/coordinator/agent.go diff --git a/pkgs/mq/coordinator/bucket.go b/common/pkgs/mq/coordinator/bucket.go similarity index 100% rename from pkgs/mq/coordinator/bucket.go rename to common/pkgs/mq/coordinator/bucket.go diff --git a/pkgs/mq/coordinator/cache.go b/common/pkgs/mq/coordinator/cache.go similarity index 100% rename from pkgs/mq/coordinator/cache.go rename to common/pkgs/mq/coordinator/cache.go diff --git a/pkgs/mq/coordinator/client.go b/common/pkgs/mq/coordinator/client.go similarity index 100% rename from pkgs/mq/coordinator/client.go rename to common/pkgs/mq/coordinator/client.go diff --git a/pkgs/mq/coordinator/common.go b/common/pkgs/mq/coordinator/common.go similarity index 100% rename from pkgs/mq/coordinator/common.go rename to common/pkgs/mq/coordinator/common.go diff --git a/pkgs/mq/coordinator/coordinator_test.go b/common/pkgs/mq/coordinator/coordinator_test.go similarity index 100% rename from pkgs/mq/coordinator/coordinator_test.go rename to common/pkgs/mq/coordinator/coordinator_test.go diff --git a/pkgs/mq/coordinator/node.go b/common/pkgs/mq/coordinator/node.go similarity index 100% rename from pkgs/mq/coordinator/node.go rename to common/pkgs/mq/coordinator/node.go diff --git a/pkgs/mq/coordinator/object.go b/common/pkgs/mq/coordinator/object.go similarity index 100% rename from pkgs/mq/coordinator/object.go rename to common/pkgs/mq/coordinator/object.go diff --git a/pkgs/mq/coordinator/package.go b/common/pkgs/mq/coordinator/package.go similarity index 100% rename from pkgs/mq/coordinator/package.go rename to common/pkgs/mq/coordinator/package.go diff --git a/pkgs/mq/coordinator/server.go b/common/pkgs/mq/coordinator/server.go similarity index 100% rename from pkgs/mq/coordinator/server.go rename to common/pkgs/mq/coordinator/server.go diff --git a/pkgs/mq/coordinator/storage.go b/common/pkgs/mq/coordinator/storage.go similarity index 100% rename from pkgs/mq/coordinator/storage.go rename to common/pkgs/mq/coordinator/storage.go diff --git a/pkgs/mq/scanner/client.go b/common/pkgs/mq/scanner/client.go similarity index 100% rename from pkgs/mq/scanner/client.go rename to common/pkgs/mq/scanner/client.go diff --git a/pkgs/mq/scanner/event.go b/common/pkgs/mq/scanner/event.go similarity index 100% rename from pkgs/mq/scanner/event.go rename to common/pkgs/mq/scanner/event.go diff --git a/pkgs/mq/scanner/event/agent_check_cache.go b/common/pkgs/mq/scanner/event/agent_check_cache.go similarity index 100% rename from pkgs/mq/scanner/event/agent_check_cache.go rename to common/pkgs/mq/scanner/event/agent_check_cache.go diff --git a/pkgs/mq/scanner/event/agent_check_state.go b/common/pkgs/mq/scanner/event/agent_check_state.go similarity index 100% rename from pkgs/mq/scanner/event/agent_check_state.go rename to common/pkgs/mq/scanner/event/agent_check_state.go diff --git a/pkgs/mq/scanner/event/agent_check_storage.go b/common/pkgs/mq/scanner/event/agent_check_storage.go similarity index 100% rename from pkgs/mq/scanner/event/agent_check_storage.go rename to common/pkgs/mq/scanner/event/agent_check_storage.go diff --git a/pkgs/mq/scanner/event/check_cache.go b/common/pkgs/mq/scanner/event/check_cache.go similarity index 100% rename from pkgs/mq/scanner/event/check_cache.go rename to common/pkgs/mq/scanner/event/check_cache.go diff --git a/pkgs/mq/scanner/event/check_package.go b/common/pkgs/mq/scanner/event/check_package.go similarity index 100% rename from pkgs/mq/scanner/event/check_package.go rename to common/pkgs/mq/scanner/event/check_package.go diff --git a/pkgs/mq/scanner/event/check_rep_count.go b/common/pkgs/mq/scanner/event/check_rep_count.go similarity index 100% rename from pkgs/mq/scanner/event/check_rep_count.go rename to common/pkgs/mq/scanner/event/check_rep_count.go diff --git a/pkgs/mq/scanner/event/event.go b/common/pkgs/mq/scanner/event/event.go similarity index 100% rename from pkgs/mq/scanner/event/event.go rename to common/pkgs/mq/scanner/event/event.go diff --git a/pkgs/mq/scanner/server.go b/common/pkgs/mq/scanner/server.go similarity index 100% rename from pkgs/mq/scanner/server.go rename to common/pkgs/mq/scanner/server.go diff --git a/utils/config.go b/common/utils/config.go similarity index 100% rename from utils/config.go rename to common/utils/config.go diff --git a/utils/ping.go b/common/utils/ping.go similarity index 100% rename from utils/ping.go rename to common/utils/ping.go diff --git a/utils/utils.go b/common/utils/utils.go similarity index 100% rename from utils/utils.go rename to common/utils/utils.go