codemp/proto/buffer_service.proto

15 lines
324 B
Protocol Buffer
Raw Normal View History

2023-12-18 23:36:15 +01:00
syntax = "proto2";
package buffer_service;
2023-12-18 23:36:15 +01:00
// handle buffer changes, keep in sync users
service Buffer {
// attach to a buffer and receive operations
rpc Attach (stream Operation) returns (stream Operation);
}
message Operation {
required bytes data = 1;
optional string user = 2;
optional string path = 3;
}