handler

package
v1.5.8-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParamValidate

func ParamValidate() gin.HandlerFunc

Types

type Handler

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

func New

func New(mgrDB sqlx.DBExecutor, chainConf *types.ChainConfig, opPool optypes.Pool, sfid confid.SFIDGenerator, asyncCli *asynq.Client) *Handler

func (*Handler) Hello

func (h *Handler) Hello(c *gin.Context)

func (*Handler) HelloAsync added in v1.5.9

func (h *Handler) HelloAsync(c *gin.Context)

func (*Handler) ReadTx

func (h *Handler) ReadTx(c *gin.Context)

func (*Handler) ReadTxAsync added in v1.5.9

func (h *Handler) ReadTxAsync(c *gin.Context)

func (*Handler) SendTx

func (h *Handler) SendTx(c *gin.Context)

func (*Handler) SendTxAsync added in v1.5.9

func (h *Handler) SendTxAsync(c *gin.Context)

func (*Handler) SendTxAsyncStateCheck added in v1.5.9

func (h *Handler) SendTxAsyncStateCheck(c *gin.Context)

Jump to

Keyboard shortcuts

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