Versions in this module Expand all Collapse all v2 v2.3.1 Jul 26, 2023 Changes in this version + func RegisterRpcCrossChainHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterRpcCrossChainHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RpcCrossChainClient) error + func RegisterRpcCrossChainHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterRpcCrossChainHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RpcCrossChainServer) error + func RegisterRpcCrossChainServer(s *grpc.Server, srv RpcCrossChainServer) + func RegisterRpcRelayChainHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterRpcRelayChainHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RpcRelayChainClient) error + func RegisterRpcRelayChainHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterRpcRelayChainHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RpcRelayChainServer) error + func RegisterRpcRelayChainServer(s *grpc.Server, srv RpcRelayChainServer) + type RpcCrossChainClient interface + ChainIdentity func(ctx context.Context, in *cross_chain.ChainIdentityRequest, ...) (*cross_chain.ChainIdentityResponse, error) + CrossChainCancel func(ctx context.Context, in *cross_chain.CrossChainCancelRequest, ...) (*cross_chain.CrossChainCancelResponse, error) + CrossChainConfirm func(ctx context.Context, in *cross_chain.CrossChainConfirmRequest, ...) (*cross_chain.CrossChainConfirmResponse, error) + CrossChainEvent func(ctx context.Context, in *cross_chain.CrossChainEventRequest, ...) (*cross_chain.CrossChainEventResponse, error) + CrossChainTry func(ctx context.Context, in *cross_chain.CrossChainTryRequest, ...) (*cross_chain.CrossChainTryResponse, error) + IsCrossChainSuccess func(ctx context.Context, in *cross_chain.IsCrossChainSuccessRequest, ...) (*cross_chain.IsCrossChainSuccessResponse, error) + PingPong func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*cross_chain.PingPongResponse, error) + TxVerify func(ctx context.Context, in *cross_chain.TxVerifyRequest, opts ...grpc.CallOption) (*cross_chain.TxVerifyResponse, error) + func NewRpcCrossChainClient(cc *grpc.ClientConn) RpcCrossChainClient + type RpcCrossChainServer interface + ChainIdentity func(context.Context, *cross_chain.ChainIdentityRequest) (*cross_chain.ChainIdentityResponse, error) + CrossChainCancel func(context.Context, *cross_chain.CrossChainCancelRequest) (*cross_chain.CrossChainCancelResponse, error) + CrossChainConfirm func(context.Context, *cross_chain.CrossChainConfirmRequest) (*cross_chain.CrossChainConfirmResponse, error) + CrossChainEvent func(context.Context, *cross_chain.CrossChainEventRequest) (*cross_chain.CrossChainEventResponse, error) + CrossChainTry func(context.Context, *cross_chain.CrossChainTryRequest) (*cross_chain.CrossChainTryResponse, error) + IsCrossChainSuccess func(context.Context, *cross_chain.IsCrossChainSuccessRequest) (*cross_chain.IsCrossChainSuccessResponse, error) + PingPong func(context.Context, *emptypb.Empty) (*cross_chain.PingPongResponse, error) + TxVerify func(context.Context, *cross_chain.TxVerifyRequest) (*cross_chain.TxVerifyResponse, error) + type RpcRelayChainClient interface + BeginCrossChain func(ctx context.Context, in *relay_chain.BeginCrossChainRequest, ...) (*relay_chain.BeginCrossChainResponse, error) + GatewayRegister func(ctx context.Context, in *relay_chain.GatewayRegisterRequest, ...) (*relay_chain.GatewayRegisterResponse, error) + GatewayUpdate func(ctx context.Context, in *relay_chain.GatewayUpdateRequest, ...) (*relay_chain.GatewayUpdateResponse, error) + InitContract func(ctx context.Context, in *relay_chain.InitContractRequest, ...) (*relay_chain.InitContractResponse, error) + QueryCrossChain func(ctx context.Context, in *relay_chain.QueryCrossChainRequest, ...) (*relay_chain.QueryCrossChainResponse, error) + QueryGateway func(ctx context.Context, in *relay_chain.QueryGatewayRequest, ...) (*relay_chain.QueryGatewayResponse, error) + SyncBlockHeader func(ctx context.Context, in *relay_chain.SyncBlockHeaderRequest, ...) (*relay_chain.SyncBlockHeaderResponse, error) + UpdateContract func(ctx context.Context, in *relay_chain.UpdateContractRequest, ...) (*relay_chain.UpdateContractResponse, error) + func NewRpcRelayChainClient(cc *grpc.ClientConn) RpcRelayChainClient + type RpcRelayChainServer interface + BeginCrossChain func(context.Context, *relay_chain.BeginCrossChainRequest) (*relay_chain.BeginCrossChainResponse, error) + GatewayRegister func(context.Context, *relay_chain.GatewayRegisterRequest) (*relay_chain.GatewayRegisterResponse, error) + GatewayUpdate func(context.Context, *relay_chain.GatewayUpdateRequest) (*relay_chain.GatewayUpdateResponse, error) + InitContract func(context.Context, *relay_chain.InitContractRequest) (*relay_chain.InitContractResponse, error) + QueryCrossChain func(context.Context, *relay_chain.QueryCrossChainRequest) (*relay_chain.QueryCrossChainResponse, error) + QueryGateway func(context.Context, *relay_chain.QueryGatewayRequest) (*relay_chain.QueryGatewayResponse, error) + SyncBlockHeader func(context.Context, *relay_chain.SyncBlockHeaderRequest) (*relay_chain.SyncBlockHeaderResponse, error) + UpdateContract func(context.Context, *relay_chain.UpdateContractRequest) (*relay_chain.UpdateContractResponse, error) + type UnimplementedRpcCrossChainServer struct + func (*UnimplementedRpcCrossChainServer) ChainIdentity(ctx context.Context, req *cross_chain.ChainIdentityRequest) (*cross_chain.ChainIdentityResponse, error) + func (*UnimplementedRpcCrossChainServer) CrossChainCancel(ctx context.Context, req *cross_chain.CrossChainCancelRequest) (*cross_chain.CrossChainCancelResponse, error) + func (*UnimplementedRpcCrossChainServer) CrossChainConfirm(ctx context.Context, req *cross_chain.CrossChainConfirmRequest) (*cross_chain.CrossChainConfirmResponse, error) + func (*UnimplementedRpcCrossChainServer) CrossChainEvent(ctx context.Context, req *cross_chain.CrossChainEventRequest) (*cross_chain.CrossChainEventResponse, error) + func (*UnimplementedRpcCrossChainServer) CrossChainTry(ctx context.Context, req *cross_chain.CrossChainTryRequest) (*cross_chain.CrossChainTryResponse, error) + func (*UnimplementedRpcCrossChainServer) IsCrossChainSuccess(ctx context.Context, req *cross_chain.IsCrossChainSuccessRequest) (*cross_chain.IsCrossChainSuccessResponse, error) + func (*UnimplementedRpcCrossChainServer) PingPong(ctx context.Context, req *emptypb.Empty) (*cross_chain.PingPongResponse, error) + func (*UnimplementedRpcCrossChainServer) TxVerify(ctx context.Context, req *cross_chain.TxVerifyRequest) (*cross_chain.TxVerifyResponse, error) + type UnimplementedRpcRelayChainServer struct + func (*UnimplementedRpcRelayChainServer) BeginCrossChain(ctx context.Context, req *relay_chain.BeginCrossChainRequest) (*relay_chain.BeginCrossChainResponse, error) + func (*UnimplementedRpcRelayChainServer) GatewayRegister(ctx context.Context, req *relay_chain.GatewayRegisterRequest) (*relay_chain.GatewayRegisterResponse, error) + func (*UnimplementedRpcRelayChainServer) GatewayUpdate(ctx context.Context, req *relay_chain.GatewayUpdateRequest) (*relay_chain.GatewayUpdateResponse, error) + func (*UnimplementedRpcRelayChainServer) InitContract(ctx context.Context, req *relay_chain.InitContractRequest) (*relay_chain.InitContractResponse, error) + func (*UnimplementedRpcRelayChainServer) QueryCrossChain(ctx context.Context, req *relay_chain.QueryCrossChainRequest) (*relay_chain.QueryCrossChainResponse, error) + func (*UnimplementedRpcRelayChainServer) QueryGateway(ctx context.Context, req *relay_chain.QueryGatewayRequest) (*relay_chain.QueryGatewayResponse, error) + func (*UnimplementedRpcRelayChainServer) SyncBlockHeader(ctx context.Context, req *relay_chain.SyncBlockHeaderRequest) (*relay_chain.SyncBlockHeaderResponse, error) + func (*UnimplementedRpcRelayChainServer) UpdateContract(ctx context.Context, req *relay_chain.UpdateContractRequest) (*relay_chain.UpdateContractResponse, error)