Documentation ¶
Index ¶
- type Counter
- func (c *Counter) BPS() float64
- func (c *Counter) Bar() *pb.ProgressBar
- func (c *Counter) ETA() time.Duration
- func (c *Counter) Finish()
- func (c *Counter) Pause()
- func (c *Counter) Progress() float64
- func (c *Counter) Resume()
- func (c *Counter) SetProgress(alpha float64)
- func (c *Counter) SetSilent(silent bool)
- func (c *Counter) SetTotalBytes(totalBytes int64)
- func (c *Counter) Start()
- func (c *Counter) WorkBPS() float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Counter ¶
type Counter struct {
// contains filtered or unexported fields
}
func NewCounter ¶
func NewCounter() *Counter
func (*Counter) Bar ¶
func (c *Counter) Bar() *pb.ProgressBar
func (*Counter) SetProgress ¶
func (*Counter) SetTotalBytes ¶
Click to show internal directories.
Click to hide internal directories.