Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProgressData ¶ added in v0.12.0
type ProgressData struct {
// contains filtered or unexported fields
}
ProgressData contains information about a progress printer
func New ¶ added in v0.12.0
func New(w io.Writer, mode string, variable *int64) *ProgressData
New creates a new progress struct
func (*ProgressData) Begin ¶ added in v0.12.0
func (p *ProgressData) Begin()
Begin begins a progress routine
mode describes in which mode it runs, none, progress or xfer variable holds the amount of bytes written
func (*ProgressData) End ¶ added in v0.12.0
func (p *ProgressData) End()
End - Ends the progress and send quit signal to the channel
Click to show internal directories.
Click to hide internal directories.