Commit Graph

25 Commits

Author SHA1 Message Date
jammerful 45b5ae08a9 Make Expand Headers Generate Expected Errors
Expand Headers should throw an error for unset environmental
variables. Also address additional PR feedback.
2019-09-25 20:57:54 -04:00
jammerful 21ea8b8e04 Add Expand Headers Feature
See discussion of the feature here:
https://github.com/fullstorydev/grpcurl/issues/116
2019-09-23 22:59:04 -04:00
Joshua Humphries 5516a45602
update proto and grpc deps (#81)
Fixes the build by updating grpc (and deps) and using new, non-deprecated function
2019-02-27 17:30:44 -05:00
Joshua Humphries 9fa2fce63b
make method invocation resilient to errors trying to load all files from server (#74) 2018-12-13 11:44:43 -05:00
Joshua Humphries d86529bb4f
don't use TLS 1.3, which isn't quite right yet in Go tip (#66) 2018-11-15 20:27:01 -05:00
Joshua Humphries 1e8e50f4f8
make MakeTemplate more robust (#60) 2018-10-22 22:59:11 -04:00
Joshua Humphries 7cabe7a9d0
move more stuff from cmd to package (#59) 2018-10-19 14:47:25 -04:00
Joshua Humphries 9a4bbacdd6
some pre-factoring and small fixes (#58)
* organize into multiple files
* make listing methods show fully-qualified names
* address small feedback from recent change (trim then check if empty)
2018-10-18 23:51:38 -04:00
Joshua Humphries 58cd93280e
use proto syntax for describe (#57) 2018-10-18 13:50:44 -04:00
Joshua Humphries e00ef3eb7c
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
2018-10-16 21:26:16 -04:00
Ryo Nakao 2dd771c49e fix typo in InvokeRpc() comment (#50) 2018-09-26 22:02:34 -04:00
Joshua Humphries 00643a3fb8
fix race condition in bidi tests (#35) 2018-05-29 11:04:40 -04:00
Joshua Humphries ec219b3c15
allow the use of proto source files directly, instead of having to compile to protoset files (#32) 2018-05-23 14:13:24 -04:00
Joshua Humphries ca5693f42c
support unix sockets (#26) 2018-03-27 11:24:35 -04:00
Joshua Humphries 224c3acd1d
enable more linters in CI; fix some issues caught by them (#23) 2018-03-24 10:33:21 -04:00
Peter Edge ceba64b971 Delete references to json.RawMessage (#12) 2018-02-20 15:03:05 -05:00
Joshua Humphries 620796528e
fix nil dereference (#10) 2018-02-19 22:28:26 -05:00
Peter Edge cdea962127 Add DescriptorSourceFromFileDescriptorSet (#4) 2018-02-17 17:30:03 -05:00
Stephan Renatus 7d304729b4 make jsonpb marshaler emit defaults (#3)
add `-emit-defaults` flag so that output will include default values (e.g. "false" for boolean flags)
2018-02-05 10:52:29 -05:00
Josh Humphries 4f202d18f3 support binary headers; flesh out doc for some exported symbols that were previously undocumented 2017-12-13 16:01:48 -05:00
Josh Humphries 1eec3bcbd6 oops -- remove some unused code 2017-12-13 15:46:56 -05:00
Josh Humphries 91fb94b700 fix CI tests to work with go 1.6; add another error message that was observed in CI 2017-12-13 15:31:48 -05:00
Josh Humphries 6c05311fb9 use custom dialer so we can show better error messages when things like TLS handshakes go awry; restore error message checks in tls tests 2017-12-13 15:30:57 -05:00
Josh Humphries 45e17ae10b grpc connection management no longer yields same errors from dial; also fix fmt issue in error message 2017-12-05 01:53:17 -05:00
Josh Humphries 9dfaded6cf initial commit, functioning grpcurl command-line util 2017-11-20 13:15:15 -05:00