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