progress

package
v12.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2018 License: MIT Imports: 4 Imported by: 0

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