mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 15:34:53 +01:00
alemidev
83ae6e3cd1
Added a "session" stage, to auth and connect to a Workspace. Added workspace-level operations (sync, get buffers list...). Added buffer-level sync operations (push, pull).
17 lines
350 B
Protocol Buffer
17 lines
350 B
Protocol Buffer
syntax = "proto3";
|
|
package session;
|
|
|
|
service Session {
|
|
rpc Create (SessionRequest) returns (SessionResponse);
|
|
rpc Join (SessionRequest) returns (SessionResponse);
|
|
rpc Leave (SessionRequest) returns (SessionResponse);
|
|
}
|
|
|
|
message SessionRequest {
|
|
string sessionKey = 1;
|
|
}
|
|
|
|
message SessionResponse {
|
|
string sessionKey = 1;
|
|
bool accepted = 2;
|
|
}
|