waitlivemsg

package
v1.0.0-alpha-113 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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) Duration

func (w *WaitLiveMsg) Duration() int

Duration in seconds

func (*WaitLiveMsg) ResetDuration

func (w *WaitLiveMsg) ResetDuration()

ResetDuration to restart counter

func (*WaitLiveMsg) SetMessage

func (w *WaitLiveMsg) SetMessage(msg string)

SetMessage to display

func (*WaitLiveMsg) SetStream

func (w *WaitLiveMsg) SetStream(ws *uilive.Writer)

SetStream to output to

func (*WaitLiveMsg) Stop

func (w *WaitLiveMsg) Stop()

Stop the waiting message

func (*WaitLiveMsg) StopWithMessage

func (w *WaitLiveMsg) StopWithMessage(msg string)

StopWithMessage sets the last message and stops

func (*WaitLiveMsg) Wait

func (w *WaitLiveMsg) Wait()

Wait starts the waiting message

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL