Skip to content

Commit 22d6ed9

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 22d6ed9

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 configurations of all instances.
11+
rpc GetConfig(GetConfigRequest) returns (GetConfigResponse) {}
12+
}
13+
14+
// Get configurations of all instances.
15+
16+
message GetConfigRequest {}
17+
18+
message GetConfigResponse {
19+
// Error information. Set only on failure.
20+
Error error = 1;
21+
// Configurations of instances.
22+
Value config = 2;
23+
}

0 commit comments

Comments
 (0)