diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-14 02:50:55 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-14 02:50:55 -0400 |
commit | aba6a1dc871edbc6cbb286a350a4ba79ca645fb8 (patch) | |
tree | ecd6347c2374a36a6524782f985975c7c315068b /msg.proto | |
parent | 1a80bcb250c81a8959b8af816f499c22bca0db51 (diff) |
readFileSync is working
Diffstat (limited to 'msg.proto')
-rw-r--r-- | msg.proto | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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; } |