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