Documentation
¶
Index ¶
- type WaitLiveMsg
- func (w *WaitLiveMsg) Duration() time.Duration
- func (w *WaitLiveMsg) ResetDuration()
- func (w *WaitLiveMsg) SetCrossSymbolEnd()
- func (w *WaitLiveMsg) SetMessage(msg string)
- func (w *WaitLiveMsg) SetStream(ws *uilive.Writer)
- func (w *WaitLiveMsg) SetSymbolEnd(s string)
- func (w *WaitLiveMsg) SetTickSymbolEnd()
- func (w *WaitLiveMsg) Stop()
- func (w *WaitLiveMsg) StopWithMessage(msg string)
- func (w *WaitLiveMsg) Wait()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WaitLiveMsg ¶
type WaitLiveMsg struct {
// contains filtered or unexported fields
}
WaitLiveMsg is used for "waiting" live message
func (*WaitLiveMsg) ResetDuration ¶
func (w *WaitLiveMsg) ResetDuration()
ResetDuration to restart counter
func (*WaitLiveMsg) SetCrossSymbolEnd ¶
func (w *WaitLiveMsg) SetCrossSymbolEnd()
SetCrossSymbolEnd sets the end symbol to cross
func (*WaitLiveMsg) SetStream ¶
func (w *WaitLiveMsg) SetStream(ws *uilive.Writer)
SetStream to output to
func (*WaitLiveMsg) SetSymbolEnd ¶
func (w *WaitLiveMsg) SetSymbolEnd(s string)
SetSymbolEnd sets the symbol to be used on the end of the timer
func (*WaitLiveMsg) SetTickSymbolEnd ¶
func (w *WaitLiveMsg) SetTickSymbolEnd()
SetTickSymbolEnd sets the end symbol to tick
func (*WaitLiveMsg) StopWithMessage ¶
func (w *WaitLiveMsg) StopWithMessage(msg string)
StopWithMessage sets the last message and stops
Click to show internal directories.
Click to hide internal directories.