mirror of
https://github.com/criyle/go-judge.git
synced 2025-09-26 22:39:12 +08:00
24 lines
443 B
Protocol Buffer
24 lines
443 B
Protocol Buffer
edition = "2023";
|
|
|
|
package pb;
|
|
|
|
option features.field_presence = IMPLICIT;
|
|
option go_package = "github.com/criyle/go-judge/pb";
|
|
option features.(pb.go).api_level = API_OPAQUE;
|
|
|
|
import "response.proto";
|
|
import "google/protobuf/go_features.proto";
|
|
|
|
message StreamResponse {
|
|
message Output {
|
|
uint32 index = 1;
|
|
uint32 fd = 3;
|
|
bytes content = 2;
|
|
}
|
|
|
|
oneof response {
|
|
Response execResponse = 1;
|
|
Output execOutput = 2;
|
|
}
|
|
}
|