Versions in this module Expand all Collapse all v0 v0.43.1 Aug 21, 2021 Changes in this version + var Debug = true + var ErrIntOverflowAny = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthAny = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupAny = fmt.Errorf("proto: unexpected end of group") + func UnpackInterfaces(x interface{}, unpacker AnyUnpacker) error + type AminoJSONPacker struct + Cdc *amino.Codec + func (a AminoJSONPacker) UnpackAny(any *Any, _ interface{}) error + type AminoJSONUnpacker struct + Cdc *amino.Codec + func (a AminoJSONUnpacker) UnpackAny(any *Any, iface interface{}) error + type AminoPacker struct + Cdc *amino.Codec + func (a AminoPacker) UnpackAny(any *Any, _ interface{}) error + type AminoUnpacker struct + Cdc *amino.Codec + func (a AminoUnpacker) UnpackAny(any *Any, iface interface{}) error + type Any struct + TypeUrl string + Value []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func NewAnyWithValue(v proto.Message) (*Any, error) + func NewPopulatedAny(r randyAny, easy bool) *Any + func UnsafePackAny(x interface{}) *Any + func (*Any) Descriptor() ([]byte, []int) + func (*Any) ProtoMessage() + func (*Any) XXX_MessageName() string + func (*Any) XXX_WellKnownType() string + func (any *Any) GetCachedValue() interface{} + func (any *Any) GoString() string + func (any *Any) MarshalJSON() ([]byte, error) + func (any *Any) String() string + func (any *Any) UnmarshalAmino(bz []byte) error + func (any *Any) UnmarshalJSON(bz []byte) error + func (any Any) MarshalAmino() ([]byte, error) + func (m *Any) GetTypeUrl() string + func (m *Any) GetValue() []byte + func (m *Any) Marshal() (dAtA []byte, err error) + func (m *Any) MarshalTo(dAtA []byte) (int, error) + func (m *Any) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Any) Reset() + func (m *Any) Size() (n int) + func (m *Any) Unmarshal(dAtA []byte) error + func (m *Any) XXX_DiscardUnknown() + func (m *Any) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Any) XXX_Merge(src proto.Message) + func (m *Any) XXX_Size() int + func (m *Any) XXX_Unmarshal(b []byte) error + func (this *Any) Compare(that interface{}) int + func (this *Any) Equal(that interface{}) bool + type AnyUnpacker interface + UnpackAny func(any *Any, iface interface{}) error + type InterfaceRegistry interface + ListAllInterfaces func() []string + ListImplementations func(ifaceTypeURL string) []string + RegisterImplementations func(iface interface{}, impls ...proto.Message) + RegisterInterface func(protoName string, iface interface{}, impls ...proto.Message) + func NewInterfaceRegistry() InterfaceRegistry + type ProtoJSONPacker struct + JSONPBMarshaler *jsonpb.Marshaler + func (a ProtoJSONPacker) UnpackAny(any *Any, _ interface{}) error + type UnpackInterfacesMessage interface + UnpackInterfaces func(unpacker AnyUnpacker) error