proto file for protobuf type
This commit is contained in:
@@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "stflashserver",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"description": "",
|
|
||||||
"main": "main.js",
|
|
||||||
"scripts": {
|
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
|
||||||
"start": "node main.js"
|
|
||||||
},
|
|
||||||
"author": "maxim",
|
|
||||||
"license": "ISC",
|
|
||||||
"devDependencies": {
|
|
||||||
"udev": "^0.3.0",
|
|
||||||
"commander": "^2.9.0",
|
|
||||||
"protobufjs": "^5.0.1"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
package carkot;
|
||||||
|
|
||||||
|
message TaskRequest {
|
||||||
|
|
||||||
|
TYPE protoBufType = 1;
|
||||||
|
|
||||||
|
enum TYPE {
|
||||||
|
DEBUG = 0;
|
||||||
|
ROUTE = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user