1syntax = "proto3";
2
3package ttrpc.example.v1;
4
5import "google/protobuf/empty.proto";
6import "gogoproto/gogo.proto";
7
8option go_package = "github.com/containerd/ttrpc/example;example";
9
10service Example {
11	rpc Method1(Method1Request) returns (Method1Response);
12	rpc Method2(Method1Request) returns (google.protobuf.Empty);
13}
14
15message Method1Request {
16	string foo = 1;
17	string bar = 2;
18}
19
20message Method1Response {
21	string foo = 1;
22	string bar = 2;
23}
24
25message Method2Request {
26	string action = 1;
27}
28