Documentation ¶
Index ¶
- func Render_Bold(size uint64, writer io.Writer) (func(uint64), func(uint64))
- func Render_BoldRainbow(size uint64, writer io.Writer) (func(uint64), func(uint64))
- func Render_Simple(size uint64, writer io.Writer) (func(uint64), func(uint64))
- type LoudProgress
- func (lp *LoudProgress) ExpandSize(size uint64) error
- func (lp *LoudProgress) GetWait() time.Duration
- func (lp *LoudProgress) Increment() (uint64, error)
- func (lp *LoudProgress) IsFinished() bool
- func (lp *LoudProgress) IsRunning() bool
- func (lp *LoudProgress) SetWait(wait time.Duration) error
- func (lp *LoudProgress) SetWriter(writer io.Writer)
- func (lp *LoudProgress) Start() error
- type RenderFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Render_Bold ¶
Bold progress bar
func Render_BoldRainbow ¶
Bold rainbow progress bar
Types ¶
type LoudProgress ¶
type LoudProgress struct {
// contains filtered or unexported fields
}
func NewLoudProgress ¶
func NewLoudProgress(size uint64, render_func RenderFunc) *LoudProgress
Generate new LoudProgress
func (*LoudProgress) Increment ¶
func (lp *LoudProgress) Increment() (uint64, error)
Method for increment current number () -> (lp.current, err)
Click to show internal directories.
Click to hide internal directories.