mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-18 09:09:42 +01:00
9a3be32ed7
* echo client/server example: dead code removal, add command line params, improve output messages * Add nix-build result to .gitignore * Merge echo-client and echo-server directories to echo-hs/ directory; rename main modules accordingly * Use our protobuf compiler to generate bindings for the Echo service * Simplify echo.proto to just one endpoint; use highlevel client/server interfaces and codegen for echo example * Remove repetition counts and thread spawns from echo client, parameterize payload * Update default.nix
7 lines
193 B
Protocol Buffer
7 lines
193 B
Protocol Buffer
syntax = "proto3";
|
|
package echo;
|
|
service Echo {
|
|
rpc DoEcho (EchoRequest) returns (EchoResponse) {}
|
|
}
|
|
message EchoRequest { string message = 1; }
|
|
message EchoResponse { string message = 1; }
|