agent

package
v0.0.0-...-6b4e3f9 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AfterWallClock

func AfterWallClock(d time.Duration) <-chan time.Time

func WithEventHandler

func WithEventHandler(eventHandler func(string)) countdownOption

Types

type Timer

type Timer struct {
	Title    string
	AutoQuit bool
	Debug    bool
	// contains filtered or unexported fields
}

func (*Timer) CountDown

func (t *Timer) CountDown(opts ...countdownOption)

func (*Timer) Start

func (t *Timer) Start(d time.Duration)

Jump to

Keyboard shortcuts

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