Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProgressBarManager ¶
type ProgressBarManager struct {
// contains filtered or unexported fields
}
ProgressBarManager type is implementation of progress.Tracker that using progress bar.
func (*ProgressBarManager) AddTask ¶
func (p *ProgressBarManager) AddTask(name, title string, total uint64)
AddTask adds progress bar for task to manager.
func (*ProgressBarManager) UpdateProgress ¶
func (p *ProgressBarManager) UpdateProgress(name string, progress usecase.Progress)
UpdateProgress updates progress for task with passed name.
func (*ProgressBarManager) Wait ¶
func (p *ProgressBarManager) Wait()
Wait waits for all progress bars to complete.
Click to show internal directories.
Click to hide internal directories.