Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalJSONAny ¶
MarshalJSONAny is a convenience function for packing the provided value in an Any and then proto marshaling it to bytes
func UnmarshalJSONAny ¶
UnmarshalJSONAny is a convenience function for proto unmarshaling an Any from bz and then unpacking it to the interface pointer passed in as iface using the provided AnyUnpacker or returning an error
Ex:
var x MyInterface err := UnmarshalJSONAny(unpacker, &x, bz)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.