2017-05-20 08:01:21 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2017-05-20 09:47:21 +00:00
|
|
|
import "loafle.com/overflow/central_api_gateway/commons/commons.proto";
|
|
|
|
|
2017-05-20 08:01:21 +00:00
|
|
|
|
|
|
|
message TaskInfo {
|
2017-05-20 09:47:21 +00:00
|
|
|
TaskEventType command = 1;
|
2017-05-20 08:01:21 +00:00
|
|
|
string taskId = 2;
|
|
|
|
map<string, string> data = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message TaskList {
|
|
|
|
repeated TaskInfo taskList = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
service Task {
|
2017-05-23 05:20:51 +00:00
|
|
|
rpc requestTask(Void) returns (TaskList) {}
|
2017-05-20 09:47:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//
|