progress

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Indicators

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

func NewIndicators

func NewIndicators(description, completed string, total uint64, quiet bool) *Indicators

func (*Indicators) Add

func (i *Indicators) Add(n int)

func (*Indicators) Run

func (i *Indicators) Run(ctx context.Context)

func (*Indicators) Wait

func (i *Indicators) Wait()

type ProgressBar

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

func NewBar

func NewBar(description string, total int, quiet bool) *ProgressBar

func (*ProgressBar) Add

func (b *ProgressBar) Add(n int)

func (*ProgressBar) Done

func (b *ProgressBar) Done() int

Jump to

Keyboard shortcuts

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