diff options
author | 2015-01-13 17:04:18 -0800 | |
---|---|---|
committer | 2015-01-13 17:04:18 -0800 | |
commit | ee988bc497bc78937211e444d1ea1fd821e177b2 (patch) | |
tree | aaf0c0cbe12f032edcdf5f71454a8a42b5e9acf4 /src/node/examples/math.proto | |
parent | 699ba2135a4bea55c431f23ab6e3ebd3981b63ca (diff) | |
parent | 8afc6c711f5506d5a8e11fc6e59f62a3ba0648dd (diff) |
Merge github.com:google/grpc into gcov
Diffstat (limited to 'src/node/examples/math.proto')
-rw-r--r-- | src/node/examples/math.proto | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/node/examples/math.proto b/src/node/examples/math.proto new file mode 100644 index 0000000000..14eff5daaf --- /dev/null +++ b/src/node/examples/math.proto @@ -0,0 +1,25 @@ +syntax = "proto2"; + +package math; + +message DivArgs { + required int64 dividend = 1; + required int64 divisor = 2; +} + +message DivReply { + required int64 quotient = 1; + required int64 remainder = 2; +} + +message FibArgs { + optional int64 limit = 1; +} + +message Num { + required int64 num = 1; +} + +message FibReply { + required int64 count = 1; +}
\ No newline at end of file |