atm

package
v0.0.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const AtmIPLimit = 5

Variables

This section is empty.

Functions

func AccountWithdrawGinRegister

func AccountWithdrawGinRegister(r *gin.Engine)

AccountWithdrawGinRegister 注册accountWithdraw

func DbClear

func DbClear(driveName string, db *sql.DB) error

DbClear 数据库清除

func DbInit

func DbInit(driveName string, db *sql.DB) error

DbInit 数据库结构初始化

func TransferGin

func TransferGin() gin.HandlerFunc

func Withdraw

func Withdraw(addr, chainid, nodeUrl string) (*ctypes.ResultBroadcastTxCommit, error)

Types

type ATMPlugin

type ATMPlugin struct{}

func (ATMPlugin) DbClear

func (ttp ATMPlugin) DbClear(driveName string, db *sql.DB) error

func (ATMPlugin) DbInit

func (ttp ATMPlugin) DbInit(driveName string, db *sql.DB) error

func (ATMPlugin) Doctor added in v0.0.3

func (ttp ATMPlugin) Doctor() error

func (ATMPlugin) Parse

func (ttp ATMPlugin) Parse(blockHeader types.BlockHeader, itx qbasetxs.ITx) (typeName string, hit bool, err error)

func (ATMPlugin) RegisterGin

func (ttp ATMPlugin) RegisterGin(r *gin.Engine)

func (ATMPlugin) Type

func (ttp ATMPlugin) Type() string

Jump to

Keyboard shortcuts

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