smegmesh/pkg/grpc/ctrlserver/ctrlserver.proto

16 lines
258 B
Protocol Buffer
Raw Normal View History

2023-09-21 12:13:36 +02:00
syntax = "proto3";
package rpctypes;
2023-10-04 18:17:53 +02:00
option go_package = "pkg/rpc";
2023-09-21 12:13:36 +02:00
service MeshCtrlServer {
rpc JoinMesh(JoinMeshRequest) returns (JoinMeshReply) {}
}
message JoinMeshRequest {
2023-10-06 12:52:51 +02:00
string meshId = 2;
2023-09-21 12:13:36 +02:00
}
message JoinMeshReply {
bool success = 1;
}