codemp/proto/cursor_service.proto

12 lines
281 B
Protocol Buffer
Raw Normal View History

2023-12-18 23:36:15 +01:00
syntax = "proto2";
package cursor_service;
import "cursor.proto";
import "user.proto";
2023-12-18 23:36:15 +01:00
// handle cursor events and broadcast to all users
service Cursor {
// subscribe to a workspace's cursor events
rpc Attach (stream cursor.CursorEvent) returns (stream cursor.CursorEvent);
2023-12-18 23:36:15 +01:00
}