Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BarMark ¶
BarMark basic implementation progress bar mark
func (*BarMark) MarkFormat ¶
MarkFormat returns mark string
type MarkAfter ¶
type MarkAfter struct {
// contains filtered or unexported fields
}
MarkAfter Show the after time
func (*MarkAfter) MarkFormat ¶
MarkFormat returns mark string
type MarkPercent ¶
type MarkPercent struct{}
MarkPercent Show progress in a percent
func (*MarkPercent) MarkFormat ¶
func (b *MarkPercent) MarkFormat(info *Info) string
MarkFormat returns mark string
type MarkRatio ¶
type MarkRatio struct{}
MarkRatio Show progress in a ratio
func (*MarkRatio) MarkFormat ¶
MarkFormat returns mark string
type MarkRoll ¶
MarkRoll Indicates that no response has been lost
func (*MarkRoll) MarkFormat ¶
MarkFormat returns mark string
type Marks ¶
Marks is a combination of multiple Marks
func (*Marks) MarkFormat ¶
MarkFormat returns mark string
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
Renderer is render progress bar
func NewRenderer ¶
func NewRenderer() *Renderer
NewRenderer creating a new progress bar renderer must have only one working renderer
Source Files
¶
Click to show internal directories.
Click to hide internal directories.
