Browse Source

agent重命名为hub

gitlink
Sydonian 7 months ago
parent
commit
0930f5e38c
20 changed files with 3 additions and 3 deletions
  1. +3
    -3
      hub/README.md
  2. +0
    -0
      hub/internal/cmd/cmd.go
  3. +0
    -0
      hub/internal/cmd/serve.go
  4. +0
    -0
      hub/internal/config/config.go
  5. +0
    -0
      hub/internal/grpc/io.go
  6. +0
    -0
      hub/internal/grpc/ping.go
  7. +0
    -0
      hub/internal/grpc/service.go
  8. +0
    -0
      hub/internal/http/http.go
  9. +0
    -0
      hub/internal/http/hub_io.go
  10. +0
    -0
      hub/internal/http/server.go
  11. +0
    -0
      hub/internal/http/service.go
  12. +0
    -0
      hub/internal/mq/agent.go
  13. +0
    -0
      hub/internal/mq/service.go
  14. +0
    -0
      hub/internal/mq/storage.go
  15. +0
    -0
      hub/internal/task/cache_move_package.go
  16. +0
    -0
      hub/internal/task/create_package.go
  17. +0
    -0
      hub/internal/task/task.go
  18. +0
    -0
      hub/internal/tickevent/report_hub_stats.go
  19. +0
    -0
      hub/internal/tickevent/report_storage_stats.go
  20. +0
    -0
      hub/main.go

agent/README.md → hub/README.md View File

@@ -1,10 +1,10 @@
# Agent服务
# Hub服务

## 目录结构
- `internal`:服务源码。
- `config`:服务使用的配置文件结构定义。
- `grpc`:通过grpc对外提供的接口。实现了.proto文件里定义的接口,这个文件位于`common\pkgs\grpc\agent\agent.proto`。
- `mq`:通过rabbitmq对外提供的接口。实现了`common\pkgs\mq\agent`目录里文件定义的接口。
- `grpc`:通过grpc对外提供的接口。实现了.proto文件里定义的接口,这个文件位于`common\pkgs\grpc\hub\hub.proto`。
- `mq`:通过rabbitmq对外提供的接口。实现了`common\pkgs\mq\hub`目录里文件定义的接口。
- `task`:需要在后台异步运行的任务。


agent/internal/cmd/cmd.go → hub/internal/cmd/cmd.go View File


agent/internal/cmd/serve.go → hub/internal/cmd/serve.go View File


agent/internal/config/config.go → hub/internal/config/config.go View File


agent/internal/grpc/io.go → hub/internal/grpc/io.go View File


agent/internal/grpc/ping.go → hub/internal/grpc/ping.go View File


agent/internal/grpc/service.go → hub/internal/grpc/service.go View File


agent/internal/http/http.go → hub/internal/http/http.go View File


agent/internal/http/hub_io.go → hub/internal/http/hub_io.go View File


agent/internal/http/server.go → hub/internal/http/server.go View File


agent/internal/http/service.go → hub/internal/http/service.go View File


agent/internal/mq/agent.go → hub/internal/mq/agent.go View File


agent/internal/mq/service.go → hub/internal/mq/service.go View File


agent/internal/mq/storage.go → hub/internal/mq/storage.go View File


agent/internal/task/cache_move_package.go → hub/internal/task/cache_move_package.go View File


agent/internal/task/create_package.go → hub/internal/task/create_package.go View File


agent/internal/task/task.go → hub/internal/task/task.go View File


agent/internal/tickevent/report_hub_stats.go → hub/internal/tickevent/report_hub_stats.go View File


agent/internal/tickevent/report_storage_stats.go → hub/internal/tickevent/report_storage_stats.go View File


agent/main.go → hub/main.go View File


Loading…
Cancel
Save