progress

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWriter

func NewWriter(w io.Writer, size int64, desc string) io.Writer

NewWriter wrap the io.Writer to support print write progress

func NewWriterWithEnable

func NewWriterWithEnable(w io.Writer, size int64, desc string, enable bool) io.Writer

NewWriterWithEnable wrap the io.Writer to support print write progress, if enable is false, then return the origin io.Writer

Types

This section is empty.

Jump to

Keyboard shortcuts

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