☰
Debian Codegraph
@
1.1.0.2-1
/
/
third-party
/
libhv-v1.3.3
/
examples
/
protorpc
/
proto
/
base.proto
☽
☼
third-party/libhv-v1.3.3/examples/protorpc/proto/base.proto
code
plain
raw
BSD-3-clause
2020, ithewei
debian/copyright
1
syntax = "proto3";
2
3
package protorpc;
4
5
message Error {
6
int32 code = 1;
7
string message = 2;
8
}
9
10
message Request {
11
uint64 id = 1;
12
string method = 2;
13
repeated bytes params = 3;
14
}
15
16
message Response {
17
uint64 id = 1;
18
bytes result = 2;
19
Error error = 3;
20
}