Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2023 Changes in this version + type Manager struct + func NewManager() *Manager + func (m *Manager) AddProgress(progress string, current, total float64, updateInterval time.Duration) (exist bool) + func (m *Manager) GetProgresses(filter func(p string) bool) []string + func (m *Manager) RemoveProgress(progress string) (exist bool) + func (m *Manager) Reset() + func (m *Manager) Status(progress string) (process, leftSeconds, currentSpeed float64, err error) + func (m *Manager) UpdateProgress(progress string, current, remaining float64, isInc bool) + func (m *Manager) UpdateProgressTotal(progress string, total float64)