Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Output ¶
type Output interface { GetName() string Refresh(timeLeft time.Duration) Start(pomodoroDuration time.Duration, refreshRate time.Duration, message string) End() }
Output is a external representation of the current pomodoro.
type OutputManager ¶
type OutputManager struct {
Outputs []*Output
}
func NewOutputManager ¶
func NewOutputManager() OutputManager
func (*OutputManager) Add ¶
func (o *OutputManager) Add(output *Output)
func (*OutputManager) End ¶
func (o *OutputManager) End()
func (*OutputManager) Refresh ¶
func (o *OutputManager) Refresh(timeSpent time.Duration)
Click to show internal directories.
Click to hide internal directories.