bsach64 / goback

2 stars 0 forks source link

Master-Slave working partially without gRPC now #38

Closed Unic-X closed 1 month ago

Unic-X commented 1 month ago

Description

This PR changes the overall structure from Client - Server to Client-Master-Worker server currently no test has been done only file upload works.

Fixes #21

Detailed flow of the system in this PR:

  1. Client connects to the master via SSH.
  2. Master responds with Success response.
  3. Client chooses the task they want to perform
  4. Master responds with the credentials and ip address and port of the worker.
  5. Client connects and performs the task with the worker while maintaining the connection with the master
  6. After the task is done worker disconnects the client
  7. Client closes the connection with the master server

Type of change

TODOs: