central_api_gateway/task/task.proto
2017-05-23 14:20:51 +09:00

21 lines
331 B
Protocol Buffer

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