1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 13:00:36 -05:00
denoland-deno/msg.proto
2018-05-14 02:50:55 -04:00

22 lines
292 B
Protocol Buffer

syntax = "proto3";
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;
}