summaryrefslogtreecommitdiff
path: root/msg.proto
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-05-14 13:02:47 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-05-14 13:06:44 -0400
commit50105d7855f69190f235ebd50e261863905ef173 (patch)
tree650688610cfc1682e5cf580aa0a517b6bd60d127 /msg.proto
parent2da9893da33f05fd9122b6052c67eabcd570b0d5 (diff)
Use typescript
Diffstat (limited to 'msg.proto')
-rw-r--r--msg.proto13
1 files changed, 7 insertions, 6 deletions
diff --git a/msg.proto b/msg.proto
index 00598ea90..df0b7c102 100644
--- a/msg.proto
+++ b/msg.proto
@@ -4,19 +4,20 @@ package main;
message Msg {
enum MsgKind {
- LOAD = 0;
+ START = 0;
READ_FILE_SYNC = 1;
DATA_RESPONSE = 2;
}
MsgKind kind = 10;
- // LOAD
- repeated string argv = 11;
+ // START
+ string cwd = 11;
+ repeated string argv = 12;
// READ_FILE_SYNC
- string path = 12;
+ string path = 20;
// DATA_RESPONSE
- bytes data = 13;
- string error = 14;
+ bytes data = 30;
+ string error = 31;
}