agent

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: MIT Imports: 7 Imported by: 2

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 added in v1.0.8

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