Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateTaskTableSQL = `` /* 410-byte string literal not displayed */
Functions ¶
func CreateIndexSQL ¶
func CreateTableSQL ¶
Types ¶
type Task ¶
type Task struct { ID uint `db:"id"` Contract string `db:"contract"` Abi string `db:"abi"` ChainId uint64 `db:"chainId"` Rpc string `db:"rpc"` Interval int64 `db:"interval"` // 区块轮询间隔 Start uint64 `db:"start"` Current uint64 `db:"current"` Paused uint `db:"paused"` // 是否暂停 UpdatedAt int64 `db:"updatedAt"` }
func (*Task) TableNames ¶
func (*Task) TablePrefix ¶
Click to show internal directories.
Click to hide internal directories.