Documentation ¶
Overview ¶
Package barpool provides access to the global pool of progress bars, so they could be rendered altogether.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Disable ¶ added in v1.97.7
func Disable(v bool)
Disable sets progress bar to be no-op if v==true
Types ¶
type Bar ¶ added in v1.97.7
type Bar interface { Add(value int) Increment() Start() Finish() NewProxyReader(r io.Reader) *pb.Reader }
Bar is an interface for progress bar
func AddWithTemplate ¶
AddWithTemplate adds bar with the given template to the global pool
func NewSingleProgress ¶ added in v1.92.0
NewSingleProgress returns progress bar with given template
Click to show internal directories.
Click to hide internal directories.