progress

package
v0.0.0-...-e63706e Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Percent

type Percent struct {
	Writer io.Writer
	// contains filtered or unexported fields
}

func NewReader

func NewReader(r io.Reader, prefix string, total int, enabled bool) (io.Reader, *Percent)

func NewReaderAt

func NewReaderAt(r io.ReaderAt, prefix string, total int, enabled bool) (io.ReaderAt, *Percent)

func (*Percent) Done

func (b *Percent) Done() (err error)

func (*Percent) Stop

func (b *Percent) Stop() (err error)

func (*Percent) Write

func (b *Percent) Write(p []byte) (n int, err error)

func (*Percent) WriteAt

func (b *Percent) WriteAt(p []byte, _ int64) (n int, err error)

Jump to

Keyboard shortcuts

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