progressbar

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(w io.Writer, max int64, label string, spinnerKey string) (*ProgressBar, *BarSafeLogger)

Types

type BarSafeLogger

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

func NewBarSafeLogger

func NewBarSafeLogger(w io.Writer, bar *ProgressBar) *BarSafeLogger

func (*BarSafeLogger) Write

func (l *BarSafeLogger) Write(p []byte) (int, error)

type ProgressBar added in v1.7.0

type ProgressBar struct {
	*progressbar.ProgressBar
	// contains filtered or unexported fields
}

func (*ProgressBar) Close added in v1.7.0

func (p *ProgressBar) Close()

func (*ProgressBar) Finish added in v1.7.0

func (p *ProgressBar) Finish() error

Jump to

Keyboard shortcuts

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