indicator

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bar

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

Bar is the proxy progress bar

func (Bar) Finish

func (b Bar) Finish()

Finish finishes the progress tracking

func (Bar) NewProxyReader

func (b Bar) NewProxyReader(r io.Reader) io.Reader

NewProxyReader is the factory method to track the progress

type ProgressBar

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

ProgressBar exports method to track the progress of jobs

func NewProgressBar

func NewProgressBar(quiet bool) ProgressBar

NewProgressBar is the factory method to return progressBar object

func (ProgressBar) Start

func (p ProgressBar) Start(total int64) Bar

Start starts the progress tracking

Jump to

Keyboard shortcuts

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