Introduced a gRPC Echo method to handle simple echo requests.
Defined the gRPC service in commands.proto and generated necessary Go code.
Implemented the Echo service in commands_server.go.
Set up the gRPC server initialization in main.go.
Developed unit tests for the Echo method to ensure correctness.
Created integration tests to simulate real server-client interactions. (needs to change to an independent in-memory gRPC client solution in the future. e.g: buffcon)
Written tests to generate random messages, validating the robustness of the Echo method.
Ensured all resources are properly cleaned up using deferred functions.
This feature provides a reliable and tested Echo service as part of the memorabilia, laying the groundwork for additional commands and services in the future.
Introduced a gRPC Echo method to handle simple echo requests.
commands.proto
and generated necessary Go code.commands_server.go
.main.go
.This feature provides a reliable and tested Echo service as part of the memorabilia, laying the groundwork for additional commands and services in the future.