summaryrefslogtreecommitdiff
path: root/msg.proto
blob: 00598ea903a1b2cf873ab34be8477a76994cb449 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
}