Skip to content

Commit

Permalink
feat: streamx protobuf tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jayantxie committed Feb 13, 2025
1 parent 127f14e commit 859a335
Show file tree
Hide file tree
Showing 3 changed files with 552 additions and 12 deletions.
22 changes: 11 additions & 11 deletions streamx/idl/echo.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,26 @@
*/
syntax = "proto3";

option go_package = "protobuf/grpc_demo";
option go_package = "echopb";

package grpc_demo;
package echopb;

service ServiceA {
rpc CallUnary (Request) returns (Reply) {}
rpc CallClientStream (stream Request) returns (Reply){}
rpc CallServerStream (Request) returns (stream Reply){}
rpc CallBidiStream (stream Request) returns (stream Reply){}
service TestService {
rpc Unary (EchoClientRequest) returns (EchoClientResponse) {}
rpc EchoBidi (stream EchoClientRequest) returns (stream EchoClientResponse){}
rpc EchoClient (stream EchoClientRequest) returns (EchoClientResponse){}
rpc EchoServer (EchoClientRequest) returns (stream EchoClientResponse){}
}

service ServiceB {
service EmptyService {

}

message Request {
string name = 1;
message EchoClientRequest {
string message = 1;
}

message Reply {
message EchoClientResponse {
string message = 1;
}

Loading

0 comments on commit 859a335

Please sign in to comment.