22 lines
349 B
Protocol Buffer
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) {}
|
|
}
|
|
|
|
|
|
// |