syntax = "proto2"; package cursor_service; import "cursor.proto"; import "user.proto"; // handle cursor events and broadcast to all users service Cursor { // send cursor movement to server rpc Moved (cursor.CursorEvent) returns (cursor.MovedResponse); // attach to a workspace and receive cursor events rpc Listen (user.UserIdentity) returns (stream cursor.CursorEvent); }