open-nomad/plugins/base
Mahmood Ali 938e916d9c When serializing msgpack, only consider codec tag
When serializing structs with msgpack, only consider type tags of
`codec`.

Hashicorp/go-msgpack (based on ugorji/go) defaults to interpretting
`codec` tag if it's available, but falls to using `json` if `codec`
isn't present.

This behavior is surprising in cases where we want to serialize json
differently from msgpack, e.g. serializing `ConsulExposeConfig`.
2020-05-11 14:14:10 -04:00
..
proto update grpc 2020-03-03 08:39:54 -05:00
structs recover 2019-01-07 14:49:40 -08:00
base.go base fixes 2018-12-18 16:48:00 -08:00
client.go goimports until make check is happy 2019-01-23 06:27:14 -08:00
plugin.go When serializing msgpack, only consider codec tag 2020-05-11 14:14:10 -04:00
plugin_test.go base fixes 2018-12-18 16:48:00 -08:00
server.go base fixes 2018-12-18 16:48:00 -08:00
testing.go base fixes 2018-12-18 16:48:00 -08:00