Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseUpLock ¶
func ReleaseUpLock()
func TakeUpLock ¶
func TakeUpLock() error
Types ¶
type ProgressPrinter ¶
type ProgressPrinter struct {
// contains filtered or unexported fields
}
ProgressPrinter prints to the output every 2 seconds so that the user knows the application isn't stalled.
func NewProgressPrinter ¶
func NewProgressPrinter(out io.Writer, msg string) ProgressPrinter
NewProgressPrinter creates a new ProgressPrinter.
func (ProgressPrinter) Stop ¶
func (pp ProgressPrinter) Stop()
Stop stops printing to the output. After it returns, ProgressPrinter won't print anything more.
Click to show internal directories.
Click to hide internal directories.