ioutil

package
v0.44.9 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2025 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProgressWriter

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

func NewProgressWriter

func NewProgressWriter(
	wr io.Writer,
	onWrite func(n int),
) *ProgressWriter

func (*ProgressWriter) Write

func (p *ProgressWriter) Write(buf []byte) (n int, err error)

type ProgressWriterAt

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

func NewProgressWriterAt

func NewProgressWriterAt(
	wrAt io.WriterAt,
	onWrite func(n int),
) *ProgressWriterAt

func (*ProgressWriterAt) WriteAt

func (p *ProgressWriterAt) WriteAt(buf []byte, off int64) (n int, err error)

Jump to

Keyboard shortcuts

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