Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notifier ¶
Notifier is an interface to send notifications.
func NewDesktopNotifier ¶
func NewDesktopNotifier() Notifier
NewDesktopNotifier creates a new notifier.
func NewNullNotifier ¶
func NewNullNotifier() Notifier
NewNullNotifier returns a notifier that is silent.
type Timer ¶
type Timer struct {
// contains filtered or unexported fields
}
Timer count time and update the state accordingly.
func NewTimer ¶
NewTimer create a new timer using a state, a command to execute and a painter to draw the screen.
Click to show internal directories.
Click to hide internal directories.