processbar

package
v0.4.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProcessBar = &UpxProcessBar{
	process: mpb.New(
		mpb.WithWidth(100),
		mpb.WithRefreshRate(180*time.Millisecond),
		mpb.WithWaitGroup(&sync.WaitGroup{}),
	),
	enable: false,
}

Functions

This section is empty.

Types

type UpxProcessBar

type UpxProcessBar struct {
	// contains filtered or unexported fields
}

func (*UpxProcessBar) AddBar

func (p *UpxProcessBar) AddBar(name string, total int64) *mpb.Bar

func (*UpxProcessBar) Enable

func (p *UpxProcessBar) Enable()

func (*UpxProcessBar) Wait

func (p *UpxProcessBar) Wait()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL