central_api_gateway/data/data.proto

17 lines
373 B
Protocol Buffer
Raw Normal View History

2017-05-20 08:01:21 +00:00
syntax = "proto3";
2017-05-23 05:20:51 +00:00
import "loafle.com/overflow/central_api_gateway/commons/commons.proto";
2017-05-20 08:01:21 +00:00
message CollectedData {
string agentId = 1;
string sensorId = 2;
map<string, string> data = 3;
int64 startDate = 4;
int64 finishDate = 5;
}
service Data {
2017-05-23 05:20:51 +00:00
rpc sendMetric(CollectedData) returns (Void) {}
rpc sendMeta(CollectedData) returns (Void) {}
2017-05-20 08:01:21 +00:00
}