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(p types.ProgressReporter, size int64) *ProgressWriter
func NewProgressWriterWithUpdateDuration ¶
func NewProgressWriterWithUpdateDuration(p types.ProgressReporter, size int64, ud time.Duration) *ProgressWriter
func (*ProgressWriter) Finish ¶
func (p *ProgressWriter) Finish()
func (*ProgressWriter) Update ¶
func (p *ProgressWriter) Update(n int)
Click to show internal directories.
Click to hide internal directories.