Documentation
¶
Index ¶
- type ITaskBase
- type SyncChainLogs
- func (p *SyncChainLogs) AddContracts(contracts ...common.Address)
- func (obj *SyncChainLogs) AddTopics(tops ...common.Hash)
- func (p *SyncChainLogs) AddVlogHandler(handler VlogManager)
- func (obj *SyncChainLogs) InitCfg(addressSer string, fnSyncNumber func() (int64, error), ...)
- func (obj *SyncChainLogs) Run()
- func (obj *SyncChainLogs) SyncLogsData(curNumber int64)
- type TaskBase
- type VlogManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyncChainLogs ¶
type SyncChainLogs struct {
// contains filtered or unexported fields
}
func NewSyncChainLogs ¶
func NewSyncChainLogs(syncStartBlock int64, addressRpc string, fnCurrSyncBlock func() (int64, error), fnSetCurrSyncBlock func(int64) error) *SyncChainLogs
syncBlockKey string,
func (*SyncChainLogs) AddContracts ¶
func (*SyncChainLogs) AddVlogHandler ¶
func (p *SyncChainLogs) AddVlogHandler(handler VlogManager)
func (*SyncChainLogs) SyncLogsData ¶
func (obj *SyncChainLogs) SyncLogsData(curNumber int64)
type TaskBase ¶
type TaskBase struct {
// contains filtered or unexported fields
}
func NewTaskBase ¶
Click to show internal directories.
Click to hide internal directories.