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

17 lines
373 B
Protocol Buffer

syntax = "proto3";
import "loafle.com/overflow/central_api_gateway/commons/commons.proto";
message CollectedData {
string agentId = 1;
string sensorId = 2;
map<string, string> data = 3;
int64 startDate = 4;
int64 finishDate = 5;
}
service Data {
rpc sendMetric(CollectedData) returns (Void) {}
rpc sendMeta(CollectedData) returns (Void) {}
}