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.
20 lines
368 B
Protocol Buffer
20 lines
368 B
Protocol Buffer
syntax = "proto3";
|
|
package grpc;
|
|
|
|
option go_package = "internal/pkg/grpc";
|
|
|
|
service handshake {
|
|
rpc ReactorDiscoveryHandler(ReactorDiscoveryRequest) returns (ReactorDiscoveryResponse);
|
|
}
|
|
|
|
message ReactorDiscoveryRequest {
|
|
uint32 Id = 1;
|
|
string Ip = 2;
|
|
int32 Port = 3;
|
|
string Model = 4;
|
|
}
|
|
|
|
message ReactorDiscoveryResponse {
|
|
bool Success = 1;
|
|
}
|