mirror of
https://github.com/cdr/code-server.git
synced 2025-12-06 16:34:35 +01:00
32 lines
512 B
Protocol Buffer
32 lines
512 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
message NewEvalMessage {
|
|
uint64 id = 1;
|
|
string function = 2;
|
|
repeated string args = 3;
|
|
// Timeout in ms
|
|
uint32 timeout = 4;
|
|
// Create active eval message.
|
|
// Allows for dynamic communication for an eval
|
|
bool active = 5;
|
|
}
|
|
|
|
message EvalEventMessage {
|
|
uint64 id = 1;
|
|
string event = 2;
|
|
repeated string args = 3;
|
|
}
|
|
|
|
message EvalFailedMessage {
|
|
uint64 id = 1;
|
|
string response = 2;
|
|
}
|
|
|
|
message EvalDoneMessage {
|
|
uint64 id = 1;
|
|
string response = 2;
|
|
}
|
|
|
|
message Ping {}
|
|
|
|
message Pong {}
|