Skip to content

Instantly share code, notes, and snippets.

@tomkerkhove
Created September 6, 2023 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomkerkhove/49679586ba3efa9d929f80aa851cb741 to your computer and use it in GitHub Desktop.
Save tomkerkhove/49679586ba3efa9d929f80aa851cb741 to your computer and use it in GitHub Desktop.
syntax = "proto3";
service TestService {
rpc Unary(Foo) returns (Foo);
rpc ClientStreaming(stream Foo) returns (Foo);
rpc ServerStreaming(Foo) returns (stream Foo);
rpc Duplex(stream Foo) returns (stream Foo);
}
message Foo {
int32 value = 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment