Commit Graph

13 Commits

Author SHA1 Message Date
Joshua Humphries b58182a88d
get travis CI green again (#157)
* fix test to work w/ newer grpc repo; run 'make ci' to have it update go.mod and go.sum, trying to repro ci failure locally
* vet w/ go 1.13; use normal go proxy instead of direct in CI
2020-05-12 13:06:14 -04:00
Johan Brandhorst 153d36db8c
Remove golang/protobuf/jsonpbtest dep (#145)
With 1.4.0 the golang/protobuf json testing protofiles
are being moved to [an internal package][1]. While this is
technically a breaking change, I doubt the maintainers
are going to reintroduce it, so I've copied the necessary
parts to our own testing protofile.

This allows users of this package and, more importantly,
grpcui to try 1.4.0 without this package having to migrate yet.
When it comes to migrating to 1.4.0, this should also make the
transition easier.

[1]: https://github.com/golang/protobuf/tree/v1.4.0-rc.4/internal/testprotos
2020-04-03 12:45:05 -04:00
J M 9248ea0963 Add Expand Headers Feature (#117) 2019-09-26 17:26:38 -04:00
Joshua Humphries 1e8e50f4f8
make MakeTemplate more robust (#60) 2018-10-22 22:59:11 -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 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
Joshua Humphries d4d048fade
support go modules (#48)
* support go modules
- use Go 1.11 (with and without module support) in CI
- add go.mod and go.sum files
- with modules in Go 1.11, can't rely on GOPATH directory layout, so just copy test.proto into this repo
2018-09-14 20:18:53 -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
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
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 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 9dfaded6cf initial commit, functioning grpcurl command-line util 2017-11-20 13:15:15 -05:00