From 50105d7855f69190f235ebd50e261863905ef173 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 14 May 2018 13:02:47 -0400 Subject: Use typescript --- msg.proto | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'msg.proto') 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; } -- cgit v1.2.3