mirror of
https://github.com/denoland/deno.git
synced 2024-11-01 09:24:20 -04:00
23 lines
312 B
Protocol Buffer
23 lines
312 B
Protocol Buffer
syntax = "proto3";
|
|
package main;
|
|
|
|
|
|
message Msg {
|
|
enum MsgKind {
|
|
START = 0;
|
|
READ_FILE_SYNC = 1;
|
|
DATA_RESPONSE = 2;
|
|
}
|
|
MsgKind kind = 10;
|
|
|
|
// START
|
|
string cwd = 11;
|
|
repeated string argv = 12;
|
|
|
|
// READ_FILE_SYNC
|
|
string path = 20;
|
|
|
|
// DATA_RESPONSE
|
|
bytes data = 30;
|
|
string error = 31;
|
|
}
|