central_api_gateway/task/task.proto
insanity@loafle.com d01f891c43 proto
2017-05-20 18:47:42 +09:00

22 lines
349 B
Protocol Buffer

syntax = "proto3";
import "loafle.com/overflow/central_api_gateway/commons/commons.proto";
message Empty {}
message TaskInfo {
TaskEventType command = 1;
string taskId = 2;
map<string, string> data = 3;
}
message TaskList {
repeated TaskInfo taskList = 1;
}
service Task {
rpc requestTask(Empty) returns (TaskList) {}
}
//