mirror of
https://github.com/fullstorydev/grpcurl.git
synced 2026-06-28 05:41:12 +03:00
add option to support text format (#54)
* augments grpcurl package API in order to handle multiple formats * deprecates old signature for InvokeRpc * add command-line flag to use protobuf text format instead of JSON * use AnyResolver when marshaling to/from JSON
This commit is contained in:
+2
-2
@@ -7,8 +7,8 @@ cd "$(dirname $0)"
|
||||
# Run this script to generate files used by tests.
|
||||
|
||||
echo "Creating protosets..."
|
||||
protoc ../../../google.golang.org/grpc/interop/grpc_testing/test.proto \
|
||||
-I../../../ --include_imports \
|
||||
protoc testing/test.proto \
|
||||
--include_imports \
|
||||
--descriptor_set_out=testing/test.protoset
|
||||
|
||||
protoc testing/example.proto \
|
||||
|
||||
Reference in New Issue
Block a user