codemp/proto/buffer_service.proto
frelodev 6230371020 feat: fixed proto and tonic includes
Co-authored-by: zaaarf <me@zaaarf.foo>
Co-authored-by: alemi <me@alemi.dev>
2023-12-29 01:06:28 +01:00

15 lines
No EOL
324 B
Protocol Buffer

syntax = "proto2";
package buffer_service;
// 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;
}