mirror of
https://github.com/tim-beatham/smegmesh.git
synced 2024-12-13 18:11:25 +01:00
7be11dbaa3
Removed a client's grpc endpoint value. Client's aren't publicly available so there is no need for a client's gRPC endpoint. Also changed a node ID's to their public key. A node id's public address is an issue for mobility of clients as their endpoint is subject to change
16 lines
252 B
Protocol Buffer
16 lines
252 B
Protocol Buffer
syntax = "proto3";
|
|
package rpctypes;
|
|
|
|
option go_package = "pkg/rpc";
|
|
|
|
service MeshCtrlServer {
|
|
rpc GetMesh(GetMeshRequest) returns (GetMeshReply) {}
|
|
}
|
|
|
|
message GetMeshRequest {
|
|
string meshId = 1;
|
|
}
|
|
|
|
message GetMeshReply {
|
|
bytes mesh = 1;
|
|
} |