mirror of
https://github.com/criyle/go-judge.git
synced 2025-11-04 14:50:02 +08:00
22 lines
351 B
Protocol Buffer
22 lines
351 B
Protocol Buffer
edition = "2023";
|
|
|
|
package pb;
|
|
|
|
option features.field_presence = IMPLICIT;
|
|
option go_package = "github.com/criyle/go-judge/pb";
|
|
|
|
import "response.proto";
|
|
|
|
message StreamResponse {
|
|
message Output {
|
|
uint32 index = 1;
|
|
uint32 fd = 3;
|
|
bytes content = 2;
|
|
}
|
|
|
|
oneof response {
|
|
Response execResponse = 1;
|
|
Output execOutput = 2;
|
|
}
|
|
}
|