prettyoutput

package
v0.0.0-...-136905e Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPW

func NewPW(totalNum int) progress.Writer

Types

type ProgressPrintOption

type ProgressPrintOption struct {
	NumTrackersExpected int
}

type ProgressPrinter

type ProgressPrinter struct {
	progress.Writer
}

func NewProgressPrinter

func NewProgressPrinter(opt ProgressPrintOption) *ProgressPrinter

func (*ProgressPrinter) BlockedRendered

func (p *ProgressPrinter) BlockedRendered()

func (*ProgressPrinter) UpdateProgress

func (p *ProgressPrinter) UpdateProgress(tracker *progress.Tracker, updateF func() (bool, error))

Jump to

Keyboard shortcuts

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