aboutsummaryrefslogtreecommitdiffstats
path: root/crates/daemon/proto/control.proto
diff options
context:
space:
mode:
Diffstat (limited to 'crates/daemon/proto/control.proto')
-rw-r--r--crates/daemon/proto/control.proto33
1 files changed, 0 insertions, 33 deletions
diff --git a/crates/daemon/proto/control.proto b/crates/daemon/proto/control.proto
deleted file mode 100644
index a8026cb8..00000000
--- a/crates/daemon/proto/control.proto
+++ /dev/null
@@ -1,33 +0,0 @@
-syntax = "proto3";
-package control;
-
-service Control {
- // Tell the daemon to perform a sync operation.
- rpc ForceSync(ForceSyncRequest) returns (ForceSyncReply);
-
- // Query the daemon for it's status.
- rpc Status(StatusRequest) returns (StatusReply);
-
- // Query the daemon about used paths.
- rpc Paths(PathsRequest) returns (PathsReply);
-}
-
-message ForceSyncRequest {}
-message ForceSyncReply {
- bool accepted = 1;
-}
-
-message StatusRequest {}
-message StatusReply {
- bool healthy = 1;
- string version = 2;
- uint32 pid = 3;
- uint32 protocol = 4;
-}
-
-message PathsRequest {}
-message PathsReply {
- string config = 1;
- string db = 2;
- string socket = 3;
-}