Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bar ¶
type Bar struct {
Initialized bool
Total uint64 // Total value for progress
BlockRangeStartBlock uint64 // BlockRangeStartBlock value for start block for current request
BlockRangeEndBlock uint64 // BlockRangeEndBlock value for end block for current request
Cur uint64 // current progress
// contains filtered or unexported fields
}
type ModuleName ¶
type ModuleName string
type ModuleProgressBar ¶
type ModuleProgressBar struct {
Bars map[ModuleName]*Bar
}
type Tracker ¶
type Tracker struct {
LastBlock uint64
// contains filtered or unexported fields
}
func NewProgressTracker ¶
func NewProgressTracker() *Tracker
func (*Tracker) BlockProcessed ¶
func (*Tracker) StartTracking ¶
Click to show internal directories.
Click to hide internal directories.