mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
a10f4bb4ff
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
27 lines
No EOL
393 B
Protocol Buffer
27 lines
No EOL
393 B
Protocol Buffer
syntax = "proto3";
|
|
package zed.messages;
|
|
|
|
message FromClient {
|
|
int32 id = 1;
|
|
|
|
oneof variant {
|
|
Auth auth = 2;
|
|
}
|
|
|
|
message Auth {
|
|
int32 user_id = 1;
|
|
string access_token = 2;
|
|
}
|
|
}
|
|
|
|
message FromServer {
|
|
optional int32 request_id = 1;
|
|
|
|
oneof variant {
|
|
Ack ack = 2;
|
|
}
|
|
|
|
message Ack {
|
|
optional string error_message = 1;
|
|
}
|
|
} |