Versions in this module Expand all Collapse all v2 v2.3.1 Jul 26, 2023 Changes in this version + func InitRequestManager() error + func InitRequestManagerMock() error + type Request interface + CrossChainCancel func(txRequest *cross_chain.CrossChainCancelRequest, timeout int64, ...) (*cross_chain.CrossChainCancelResponse, error) + CrossChainConfirm func(txRequest *cross_chain.CrossChainConfirmRequest, timeout int64, ...) (*cross_chain.CrossChainConfirmResponse, error) + CrossChainTry func(txRequest *cross_chain.CrossChainTryRequest, timeout int64, ...) (*cross_chain.CrossChainTryResponse, error) + IsCrossChainSuccess func(txRequest *cross_chain.IsCrossChainSuccessRequest, timeout int64, ...) (*cross_chain.IsCrossChainSuccessResponse, error) + PingPong func(timeout int64, destGatewayInfo *common.GatewayInfo) (*cross_chain.PingPongResponse, error) + VerifyTx func(txVerifyInterface *common.TxVerifyInterface, txProve string) ([]byte, error) + func NewRequest(log *zap.SugaredLogger) Request + type RequestManager struct + var RequestV1 *RequestManager + func (r *RequestManager) CrossChainCancel(txRequest *cross_chain.CrossChainCancelRequest, timeout int64, ...) (*cross_chain.CrossChainCancelResponse, error) + func (r *RequestManager) CrossChainConfirm(txRequest *cross_chain.CrossChainConfirmRequest, timeout int64, ...) (*cross_chain.CrossChainConfirmResponse, error) + func (r *RequestManager) CrossChainTry(txRequest *cross_chain.CrossChainTryRequest, timeout int64, ...) (*cross_chain.CrossChainTryResponse, error) + func (r *RequestManager) IsCrossChainSuccess(txRequest *cross_chain.IsCrossChainSuccessRequest, timeout int64, ...) (*cross_chain.IsCrossChainSuccessResponse, error) + func (r *RequestManager) PingPong(timeout int64, destGatewayInfo *common.GatewayInfo) (*cross_chain.PingPongResponse, error) + func (r *RequestManager) VerifyTx(txVerifyInterface *common.TxVerifyInterface, txProve string) ([]byte, error)