Pelmenner / TransferBot

Tool for continuous message transfer between chats and messengers using bots
1 stars 2 forks source link

Microservices #56

Closed Pelmenner closed 1 year ago

Pelmenner commented 1 year ago

Split project into following microservices:

Communication between services is done through gRPC. For that there is a proto folder with .proto declarations and generated go code.

To avoid unnecessary code duplication, baseMessenger was extracted into a separate module in src/messenger and imported in each messenger.

Most of the old code was not modified (only moved), but some changes outside of the communication part were made to improve the code and facilitate this switch to the new architecture.