Skip to content

Commit e131e0d

Browse files
committed
proto: introduce aeon_internal.proto
This patch adds `aeon_internal.proto` which will be used to implement the internal RPC.
1 parent 4df5e80 commit e131e0d

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

aeon_internal.proto

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
syntax = "proto3";
2+
3+
import "aeon_error.proto";
4+
import "aeon_value.proto";
5+
6+
package aeon;
7+
8+
// Internal API to Aeon - a distributed database based on Tarantool.
9+
service InternalService {
10+
// Get information about all instances.
11+
rpc GetInfo(GetInfoRequest) returns (GetInfoResponse) {}
12+
}
13+
14+
// Get information about all instances.
15+
16+
message GetInfoRequest {}
17+
18+
message GetInfoResponse {
19+
// Error information. Set only on failure.
20+
Error error = 1;
21+
// Information of instances.
22+
Value info = 2;
23+
}

0 commit comments

Comments
 (0)