Debian Codegraph @

test/foo/foo.proto

raw
1 syntax = "proto3";
2 package foo;
3
4 import "github.com/influxdata/yarpc/yarpcproto/yarpc.proto";
5
6 service Foo {
7 option (yarpcproto.yarpc_service_index) = 0x00;
8
9 rpc UnaryMethod(Request) returns (Response){
10 option (yarpcproto.yarpc_method_index) = 0x00;
11 }
12
13 rpc ServerStreamMethod(Request) returns (stream Response){
14 option (yarpcproto.yarpc_method_index) = 0x01;
15 }
16 }
17
18 message Request {
19 string in = 1;
20 }
21
22 message Response {
23 string out = 1;
24 }
25