Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultInterval = 2 * time.Second DefaultEasing = 10 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProgressDots ¶
type ProgressDots struct {
// contains filtered or unexported fields
}
func New ¶
func New(easingOptional ...int) *ProgressDots
New creates the channel to handle progress dots It takes easingOptional as optional parameter to control dots interval
func (*ProgressDots) SetInterval ¶
func (s *ProgressDots) SetInterval(interval time.Duration)
SetInterval sets the interval
func (*ProgressDots) SetWriter ¶ added in v1.10.0
func (s *ProgressDots) SetWriter(out io.Writer)
SetWriter sets the writer for the output
Click to show internal directories.
Click to hide internal directories.