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.
22 lines
413 B
Protocol Buffer
22 lines
413 B
Protocol Buffer
2 years ago
|
syntax = "proto3";
|
||
|
package grpc;
|
||
|
|
||
2 years ago
|
option go_package = "server/pkg/grpc";
|
||
2 years ago
|
|
||
|
service handshake {
|
||
|
rpc ReactorClientHandler(ReactorClientRequest) returns (ReactorClientResponse);
|
||
|
}
|
||
|
|
||
|
message ReactorClientRequest {
|
||
|
uint32 id = 1;
|
||
|
uint32 port = 2; // client gRPC port
|
||
|
}
|
||
|
|
||
|
message ReactorClientResponse {
|
||
|
uint32 id = 1;
|
||
|
string url = 2;
|
||
|
string org = 3;
|
||
|
string token = 4;
|
||
|
string bucket = 5;
|
||
|
}
|