progresstest

package
v0.0.0-...-f6d5d5b Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Meter

type Meter struct {
	Labels   []string
	Totals   []float64
	Values   []float64
	Written  [][]byte
	Notices  []string
	Finishes int
}

func (*Meter) Finished

func (p *Meter) Finished()

func (*Meter) Notify

func (p *Meter) Notify(msg string)

func (*Meter) Set

func (p *Meter) Set(value float64)

func (*Meter) SetTotal

func (p *Meter) SetTotal(total float64)

func (*Meter) Spin

func (p *Meter) Spin(label string)

func (*Meter) Start

func (p *Meter) Start(label string, total float64)

func (*Meter) Write

func (p *Meter) Write(bs []byte) (n int, err error)

Jump to

Keyboard shortcuts

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