Versions in this module Expand all Collapse all v1 v1.0.0 Nov 17, 2022 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 NewAnyWithCustomTypeURL(v proto.Message, typeURL string) (*Any, error) + 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) ClearCachedValue() + func (any *Any) GetCachedValue() interface{} + func (any *Any) MarshalJSON() ([]byte, error) + 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 + func (this *Any) GoString() string + func (this *Any) String() string + type AnyUnpacker interface + UnpackAny func(any *Any, iface interface{}) error + type InterfaceRegistry interface + ListAllInterfaces func() []string + ListImplementations func(ifaceTypeURL string) []string + RegisterCustomTypeURL func(iface interface{}, typeURL string, impl proto.Message) + 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