types

package
v6.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WasmAny

type WasmAny struct {
	Value []byte
}

WasmAny represents the type with raw bytes value for codectypes.Any

func (*WasmAny) ProtoMessage

func (*WasmAny) ProtoMessage()

func (*WasmAny) Reset

func (m *WasmAny) Reset()

func (*WasmAny) String

func (m *WasmAny) String() string

func (*WasmAny) Unmarshal

func (m *WasmAny) Unmarshal(b []byte) error

func (*WasmAny) XXX_WellKnownType

func (*WasmAny) XXX_WellKnownType() string

type WasmInterfaceRegistry

type WasmInterfaceRegistry struct {
	codectypes.InterfaceRegistry
}

WasmInterfaceRegistry represents a interface registry with a custom any resolver

func NewWasmInterfaceRegistry

func NewWasmInterfaceRegistry(registry codectypes.InterfaceRegistry) WasmInterfaceRegistry

NewWasmInterfaceRegistry returns a new WasmInterfaceRegistry instance

func (WasmInterfaceRegistry) Resolve

func (WasmInterfaceRegistry) Resolve(typeURL string) (proto.Message, error)

Resolve implements jsonpb.AnyResolver of codectypes.InterfaceRegistry

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL