Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrorParamEmpty liberr.CodeError = iota + liberr.MinPkgNutsDB ErrorParamMissing ErrorParamMismatching ErrorBarNotInitialized )
Variables ¶
This section is empty.
Functions ¶
func GetDefaultMessageDone ¶
func GetDefaultMessageDone() string
func GetDefaultStyle ¶
func GetDefaultStyle() string
func SetDefaultMessageDone ¶
func SetDefaultMessageDone(message string)
func SetDefaultStyle ¶
func SetDefaultStyle(style string)
Types ¶
type ProgressBar ¶
type ProgressBar interface { libsem.Sem GetMPB() *libmpb.Progress SetMaxThread(maxSimultaneous int) SetContext(ctx context.Context) MainProcessInit() NewBar(total int64, options ...libmpb.BarOption) Bar NewBarETA(name string, total int64, job string, parent Bar) Bar NewBarCounter(name string, total int64, job string, parent Bar) Bar NewBarKBits(name string, total int64, job string, parent Bar) Bar NewBarSimpleETA(name string, total int64) Bar NewBarSimpleCounter(name string, total int64) Bar NewBarSimpleKBits(name string, total int64) Bar }
func NewProgressBar ¶
func NewProgressBar(options ...libmpb.ContainerOption) ProgressBar
func NewProgressBarWithContext ¶ added in v1.3.0
func NewProgressBarWithContext(ctx context.Context, options ...libmpb.ContainerOption) ProgressBar
Click to show internal directories.
Click to hide internal directories.