mirror of
https://github.com/fullstorydev/grpcurl.git
synced 2026-06-11 21:41:44 +03:00
fix latest CI breakages by forking code from grpc-go's interop/testing
Also moves testing package to internal/testing
This commit is contained in:
21
internal/testing/example.proto
Normal file
21
internal/testing/example.proto
Normal file
@@ -0,0 +1,21 @@
|
||||
syntax = "proto3";
|
||||
|
||||
import "google/protobuf/descriptor.proto";
|
||||
import "google/protobuf/empty.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "example2.proto";
|
||||
|
||||
message TestRequest {
|
||||
repeated string file_names = 1;
|
||||
repeated Extension extensions = 2;
|
||||
}
|
||||
|
||||
message TestResponse {
|
||||
map<string, google.protobuf.FileDescriptorProto> file_protos = 1;
|
||||
google.protobuf.Timestamp last_update_date = 2;
|
||||
}
|
||||
|
||||
service TestService {
|
||||
rpc GetFiles (TestRequest) returns (TestResponse);
|
||||
rpc Ping (google.protobuf.Empty) returns (google.protobuf.Empty);
|
||||
}
|
||||
Reference in New Issue
Block a user