io_progress

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IOProgress

type IOProgress struct {
	CurrReadBytes uint64

	CurrWriteBytes uint64
	StartTime      time.Time
	// contains filtered or unexported fields
}

func NewIOProgress

func NewIOProgress(writer io.Writer, reader io.Reader, messageWriter io.Writer, makeMessage func(progress *IOProgress) string) *IOProgress

func (*IOProgress) Close added in v0.6.0

func (progress *IOProgress) Close() error

func (*IOProgress) Read

func (progress *IOProgress) Read(p []byte) (int, error)

func (*IOProgress) Write

func (progress *IOProgress) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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