progress

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProgressData added in v0.12.0

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

ProgressData contains information about a progress printer

func New added in v0.12.0

func New(w io.Writer, mode string, variable *int64) *ProgressData

New creates a new progress struct

func (*ProgressData) Begin added in v0.12.0

func (p *ProgressData) Begin()

Begin begins a progress routine

mode describes in which mode it runs, none, progress or xfer variable holds the amount of bytes written

func (*ProgressData) End added in v0.12.0

func (p *ProgressData) End()

End - Ends the progress and send quit signal to the channel

Jump to

Keyboard shortcuts

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