cosmos-sdk: github.com/cosmos/cosmos-sdk/types/msgservice Index | Files

package msgservice

import "github.com/cosmos/cosmos-sdk/types/msgservice"

Index

Package Files

msg_service.go service_msg_client.go

func RegisterMsgServiceDesc Uses

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

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

type ServiceMsgClientConn Uses

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 Uses

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

GetMsgs returns ServiceMsgClientConn.msgs

func (*ServiceMsgClientConn) Invoke Uses

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

Invoke implements the grpc ClientConn.Invoke method

func (*ServiceMsgClientConn) NewStream Uses

func (t *ServiceMsgClientConn) NewStream(context.Context, *grpc.StreamDesc, string, ...grpc.CallOption) (grpc.ClientStream, error)

NewStream implements the grpc ClientConn.NewStream method

Package msgservice imports 7 packages (graph) and is imported by 24 packages. Updated 2021-01-28. Refresh now. Tools for package owners.