handler

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler handler结构体

func NewHandler

func NewHandler() *Handler

NewHandler 初始化handler模块

@return *Handler

func (*Handler) ChainIdentity

ChainIdentity 跨链触发事件管理

@receiver h
@param ctx
@param req
@return *cross_chain.ChainIdentityResponse
@return error

func (*Handler) CrossChainCancel

CrossChainCancel 跨链结果确认

@receiver h
@param ctx
@param req
@return *cross_chain.CrossChainCancelResponse
@return error

func (*Handler) CrossChainConfirm

CrossChainConfirm 跨链结果确认

@receiver h
@param ctx
@param req
@return *cross_chain.CrossChainConfirmResponse
@return error

func (*Handler) CrossChainEvent

CrossChainEvent 跨链触发事件管理

@receiver h
@param ctx
@param req
@return *cross_chain.CrossChainEventResponse
@return error

func (*Handler) CrossChainTry

CrossChainTry 接收跨链请求的接口

@receiver h
@param ctx
@param req
@return *cross_chain.CrossChainTryResponse
@return error

func (*Handler) IsCrossChainSuccess

IsCrossChainSuccess 判断跨链结果

@receiver h
@param ctx
@param req
@return *cross_chain.IsCrossChainSuccessResponse
@return error

func (*Handler) PingPong

PingPong 心跳

@receiver h
@param ctx
@param req
@return *cross_chain.PingPongResponse
@return error

func (*Handler) TxVerify

TxVerify rpc交易验证,不是非要在当前服务中实现,本项目不支持rpc验证,不需要实现

@receiver h
@param ctx
@param in
@return *cross_chain.TxVerifyResponse
@return error

Jump to

Keyboard shortcuts

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