progresswriter

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: AGPL-3.0 Imports: 2 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 {
	Total uint64
	Count uint64
}

func New

func New(total uint64) *ProgressWriter

func (*ProgressWriter) GetPercent

func (wc *ProgressWriter) GetPercent() float64

func (*ProgressWriter) Write

func (wc *ProgressWriter) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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