Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartIndicator ¶
func StartIndicator()
func SuppressIndicator ¶
func SuppressIndicator()
func SuppressIndicatorForce ¶
func SuppressIndicatorForce()
Types ¶
type Container ¶
type Indicator ¶
type Indicator interface {
AddTotal(total int64)
AddProgress(progress int64)
UpdateProgress(progress int64)
UpdateTotal(total int64)
Done()
}
func NewNopIndicator ¶
func NewNopIndicator() Indicator
type Status ¶
type Status interface {
UpdateTitle(title string)
UpdateStatus(status string)
CurrentTitle() string
CurrentStatus() string
SetListener(listener StatusListener)
}
type StatusBar ¶
type StatusBar interface {
Status
StatusListener
Done()
}
Status bar
func NewNopStatus ¶
func NewNopStatus() StatusBar
type StatusListener ¶
type StatusListener interface {
Update()
}
Click to show internal directories.
Click to hide internal directories.