summaryrefslogtreecommitdiff
path: root/plugins/grpc/parser/test.proto
blob: e2230954e4627c523371353493ffd7b397741c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
syntax = "proto3";
package app.namespace;

// Ping Service.
service PingService {
    // Ping Method.
    rpc Ping (Message) returns (Message) {
    }
}

// Pong service.
service PongService {
    rpc Pong (stream Message) returns (stream Message) {
    }
}

message Message {
    string msg = 1;
    int64 value = 2;
}