Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProgressBar ¶
type ProgressBar struct {
Total int
// contains filtered or unexported fields
}
func NewProgressBar ¶
func NewProgressBar(total int) *ProgressBar
func (*ProgressBar) Increment ¶
func (bar *ProgressBar) Increment(size int)
func (*ProgressBar) Start ¶
func (bar *ProgressBar) Start()
func (*ProgressBar) Wait ¶
func (bar *ProgressBar) Wait()
type ProgressWriter ¶
func NewProgressWriter ¶
func NewProgressWriter(w io.Writer, total int) ProgressWriter
func (ProgressWriter) Flush ¶
func (pw ProgressWriter) Flush()
func (ProgressWriter) Wait ¶
func (pw ProgressWriter) Wait()
Click to show internal directories.
Click to hide internal directories.