agent

package
v0.0.0-...-ca4d352 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 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

	Binds           map[string]func()
	LiveDescription *string
	// 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