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.
19 lines
329 B
Plaintext
19 lines
329 B
Plaintext
3 years ago
|
syntax = "proto3";
|
||
|
package grpc;
|
||
|
|
||
|
option go_package = "internal/pkg/grpc";
|
||
|
|
||
|
service handshake {
|
||
|
rpc ClientDiscoveryHandler(ClientRequest) returns (ClientResponse);
|
||
|
}
|
||
|
|
||
|
message ClientRequest {
|
||
|
uint32 clientId = 1;
|
||
|
string clientType = 2;
|
||
|
}
|
||
|
|
||
|
message ClientResponse {
|
||
|
uint32 clientId = 1;
|
||
|
uint32 serverPort = 2;
|
||
|
}
|