go-judge/pb/file.proto

18 lines
383 B
Protocol Buffer

edition = "2023";
package pb;
import "google/protobuf/go_features.proto";
option features.field_presence = IMPLICIT;
option go_package = "github.com/criyle/go-judge/pb";
option features.(pb.go).api_level = API_OPAQUE;
message FileID { string fileID = 1; }
message FileContent {
string name = 1;
bytes content = 2;
}
message FileListType { map<string, string> fileIDs = 1; }