summaryrefslogtreecommitdiff
path: root/msg.proto
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-05-14 02:50:55 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-05-14 02:50:55 -0400
commitaba6a1dc871edbc6cbb286a350a4ba79ca645fb8 (patch)
treeecd6347c2374a36a6524782f985975c7c315068b /msg.proto
parent1a80bcb250c81a8959b8af816f499c22bca0db51 (diff)
readFileSync is working
Diffstat (limited to 'msg.proto')
-rw-r--r--msg.proto9
1 files changed, 9 insertions, 0 deletions
diff --git a/msg.proto b/msg.proto
index d76875e13..00598ea90 100644
--- a/msg.proto
+++ b/msg.proto
@@ -5,9 +5,18 @@ package main;
message Msg {
enum MsgKind {
LOAD = 0;
+ READ_FILE_SYNC = 1;
+ DATA_RESPONSE = 2;
}
MsgKind kind = 10;
// LOAD
repeated string argv = 11;
+
+ // READ_FILE_SYNC
+ string path = 12;
+
+ // DATA_RESPONSE
+ bytes data = 13;
+ string error = 14;
}