progressbar

package module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MAGS = []string{"", "K", "M", "G", "T", "P"}

Functions

This section is empty.

Types

type Progress

type Progress struct {
	Interval uint64
	MaxValue uint64
	// contains filtered or unexported fields
}

func NewProgressBar

func NewProgressBar(interval, maxValue uint64) *Progress

func (*Progress) Count

func (p *Progress) Count() uint64

func (*Progress) Inc

func (p *Progress) Inc() bool

Jump to

Keyboard shortcuts

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