blob: 2e1c90a9f9d834fa51907462044d17cf4727dbeb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
syntax = "proto3";
package service;
option go_package = "./;";
service Test {
rpc Echo (Message) returns (Message) {
}
rpc Throw (Message) returns (Message) {
}
rpc Die (Message) returns (Message) {
}
rpc Info (Message) returns (Message) {
}
rpc Ping (EmptyMessage) returns (EmptyMessage) {
}
}
message Message {
string msg = 1;
}
message EmptyMessage {
}
message DetailsMessageForException {
uint64 code = 1;
string message = 2;
}
|