Documentation
¶
Index ¶
Constants ¶
View Source
const (
EraseLine = "\x1b[K"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProgressBar ¶
type ProgressBar struct {
Bars []Bar
// contains filtered or unexported fields
}
func (*ProgressBar) AsString ¶
func (b *ProgressBar) AsString(width uint) string
func (*ProgressBar) SetBarValue ¶
func (b *ProgressBar) SetBarValue(id int, value uint)
func (*ProgressBar) Start ¶
func (b *ProgressBar) Start() error
func (*ProgressBar) String ¶
func (b *ProgressBar) String() string
type WriterWrapper ¶
type WriterWrapper struct {
// contains filtered or unexported fields
}
func (*WriterWrapper) Start ¶
func (ww *WriterWrapper) Start() error
func (*WriterWrapper) Stop ¶
func (ww *WriterWrapper) Stop() error
func (*WriterWrapper) Width ¶
func (ww *WriterWrapper) Width() uint
Click to show internal directories.
Click to hide internal directories.