~bduggan/raku-protobuf

ref: 204a01ffb6bd0849698e8adf47a3b1bc4030f020 raku-protobuf/eg/nested.proto -rw-r--r-- 327 bytes
204a01ffBrian Duggan doc 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
syntax = "proto3";

package helloworld;

service Greeter {
  rpc SayHello (HelloRequest) returns (HelloReply) {}
  rpc Echo (EchoRequest) returns (HelloReply) {}
}

message HelloRequest {
  string name = 1;
}

message HelloReply {
  string message = 1;
}

message EchoRequest {
  HelloRequest hello = 1;
  string world = 2;
}