progress

package
v10.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2018 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

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

func NewCounter

func NewCounter() *Counter

func (*Counter) BPS

func (c *Counter) BPS() float64

func (*Counter) Bar

func (c *Counter) Bar() *pb.ProgressBar

func (*Counter) ETA

func (c *Counter) ETA() time.Duration

func (*Counter) Finish

func (c *Counter) Finish()

func (*Counter) Pause

func (c *Counter) Pause()

func (*Counter) Progress

func (c *Counter) Progress() float64

func (*Counter) Resume

func (c *Counter) Resume()

func (*Counter) SetProgress

func (c *Counter) SetProgress(alpha float64)

func (*Counter) SetSilent

func (c *Counter) SetSilent(silent bool)

func (*Counter) SetTotalBytes

func (c *Counter) SetTotalBytes(totalBytes int64)

func (*Counter) Start

func (c *Counter) Start()

func (*Counter) WorkBPS

func (c *Counter) WorkBPS() float64

Jump to

Keyboard shortcuts

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