msgservice

package
v0.0.0-...-e01acf0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsServiceMsg

func IsServiceMsg(typeURL string) bool

IsServiceMsg checks if a type URL corresponds to a service method name, i.e. /cosmos.bank.Msg/Send vs /cosmos.bank.MsgSend

func RegisterMsgServiceDesc

func RegisterMsgServiceDesc(registry codectypes.InterfaceRegistry, sd *grpc.ServiceDesc)

RegisterMsgServiceDesc registers all type_urls from Msg services described in `sd` into the registry.

Types

type ServiceMsgClientConn

type ServiceMsgClientConn struct {
	// contains filtered or unexported fields
}

ServiceMsgClientConn is an instance of grpc.ClientConn that is used to test building transactions with MsgClient's. It is intended to be replaced by the work in https://github.com/cosmos/cosmos-sdk/issues/7541 when that is ready.

func (*ServiceMsgClientConn) GetMsgs

func (t *ServiceMsgClientConn) GetMsgs() []sdk.Msg

GetMsgs returns ServiceMsgClientConn.msgs

func (*ServiceMsgClientConn) Invoke

func (t *ServiceMsgClientConn) Invoke(_ context.Context, method string, args, _ interface{}, _ ...grpc.CallOption) error

Invoke implements the grpc ClientConn.Invoke method

func (*ServiceMsgClientConn) NewStream

NewStream implements the grpc ClientConn.NewStream method

Jump to

Keyboard shortcuts

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