Skip to content

Instantly share code, notes, and snippets.

@cfsghost
Last active September 26, 2017 23:08
Show Gist options
  • Save cfsghost/dcf4f6a996528056695fa8be8d153e29 to your computer and use it in GitHub Desktop.
Save cfsghost/dcf4f6a996528056695fa8be8d153e29 to your computer and use it in GitHub Desktop.
Groa.js : Koa-like gRPC Middleware Framework - router.proto
syntax = "proto3";
package example.foo;
service Example1 {
rpc Ping(Echo) returns (Echo) {}
rpc Echo(Echo) returns (Echo) {}
rpc Hello(Hello) returns (Hello) {}
}
message Echo {
string content = 1;
}
message Hello {
string msg = 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment