api

package
v0.0.0-...-27df293 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// L2UnclaimedWithdrawalsByAddressCtl the L2UnclaimedWithdrawalsByAddressController instance
	L2UnclaimedWithdrawalsByAddressCtl *L2UnclaimedWithdrawalsByAddressController
	// TxsByAddressCtl the TxsByAddressController instance
	TxsByAddressCtl *TxsByAddressController
)

Functions

func InitController

func InitController(db *gorm.DB)

InitController inits Controller with database

Types

type BridgeAPI

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

func NewBridgeAPI

func NewBridgeAPI(db *gorm.DB) *BridgeAPI

func (*BridgeAPI) GetL2UnclaimedWithdrawalsByAddress

func (s *BridgeAPI) GetL2UnclaimedWithdrawalsByAddress(ctx *gin.Context)

GetL2UnclaimedWithdrawalsByAddress defines the http get method behavior

func (*BridgeAPI) GetStatus

func (s *BridgeAPI) GetStatus(c *gin.Context)

type L2UnclaimedWithdrawalsByAddressController

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

L2UnclaimedWithdrawalsByAddressController the controller of GetL2UnclaimedWithdrawalsByAddress

func NewL2UnclaimedWithdrawalsByAddressController

func NewL2UnclaimedWithdrawalsByAddressController(db *gorm.DB) *L2UnclaimedWithdrawalsByAddressController

NewL2UnclaimedWithdrawalsByAddressController create new L2UnclaimedWithdrawalsByAddressController

func (*L2UnclaimedWithdrawalsByAddressController) GetL2UnclaimedWithdrawalsByAddress

func (c *L2UnclaimedWithdrawalsByAddressController) GetL2UnclaimedWithdrawalsByAddress(ctx *gin.Context)

GetL2UnclaimedWithdrawalsByAddress defines the http get method behavior

type TxsByAddressController

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

TxsByAddressController the controller of GetTxsByAddress

func NewTxsByAddressController

func NewTxsByAddressController(db *gorm.DB) *TxsByAddressController

NewTxsByAddressController create new TxsByAddressController

func (*TxsByAddressController) GetTxsByAddress

func (c *TxsByAddressController) GetTxsByAddress(ctx *gin.Context)

GetTxsByAddress defines the http get method behavior

Jump to

Keyboard shortcuts

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