smegmesh/pkg/grpc/syncservice.proto

18 lines
318 B
Protocol Buffer
Raw Normal View History

2023-10-10 21:14:40 +02:00
syntax = "proto3";
package syncservice;
option go_package = "pkg/rpc";
service SyncService {
2023-10-25 19:36:13 +02:00
rpc SyncMesh(stream SyncMeshRequest) returns (stream SyncMeshReply) {}
2023-10-10 21:14:40 +02:00
}
message SyncMeshRequest {
string meshId = 1;
bytes changes = 2;
}
message SyncMeshReply {
bool success = 1;
2023-10-25 19:36:13 +02:00
bytes changes = 2;
2023-10-10 21:14:40 +02:00
}