Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- syntax = "proto3";
- message CalculatorRequest {
- double first_number = 1;
- double second_number = 2;
- }
- message CalculatorResponse {
- double total = 1;
- }
- service CalculatorService {
- // Unary Call
- rpc Add (CalculatorRequest) returns (CalculatorResponse) {};
- }
Add Comment
Please, Sign In to add comment