1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 21:50:00 -05:00
denoland-deno/msg.proto

23 lines
292 B
Protocol Buffer
Raw Normal View History

2018-05-14 00:31:48 -04:00
syntax = "proto3";
package main;
message Msg {
enum MsgKind {
LOAD = 0;
2018-05-14 02:50:55 -04:00
READ_FILE_SYNC = 1;
DATA_RESPONSE = 2;
2018-05-14 00:31:48 -04:00
}
MsgKind kind = 10;
// LOAD
repeated string argv = 11;
2018-05-14 02:50:55 -04:00
// READ_FILE_SYNC
string path = 12;
// DATA_RESPONSE
bytes data = 13;
string error = 14;
2018-05-14 00:31:48 -04:00
}