You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
422 B
Protocol Buffer

syntax = "proto3";
package grpc;
option go_package = "internal/pkg/grpc";
service monitoring {
rpc ReactorStatusHandler(ReactorStatusPing) returns (ReactorStatusResponse);
}
message ReactorStatusResponse {
uint32 id = 1;
}
message ReactorStatusPing {
uint32 id = 1;
repeated Device devices = 2;
}
message Device {
int32 addr = 1;
string type = 2;
string status = 3;
string data = 4;
}