Skip to content

Instantly share code, notes, and snippets.

@aatifbandey
Created June 15, 2021 19:40
Show Gist options
  • Save aatifbandey/1b74f7f209d296fb770a778c206b94af to your computer and use it in GitHub Desktop.
Save aatifbandey/1b74f7f209d296fb770a778c206b94af to your computer and use it in GitHub Desktop.
syntax = "proto3";
package employee;
service Employee {
rpc paySalary (EmployeeRequest) returns (stream EmployeeResponse) {}
}
message EmployeeRequest {
repeated int32 employeeIdList = 1;
}
message EmployeeResponse{
string message = 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment