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; string ip = 3; // client ip uint32 port = 4; // client port for gRPC server } message ClientResponse { uint32 clientId = 1; uint32 serverPort = 2; Database database = 3; } message Database { string URL = 1; string ORG = 2; string token = 3; string bucket = 4; }