timer

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Timer

type Timer struct {
	C chan struct{}
	// contains filtered or unexported fields
}

func NewTimer

func NewTimer(c chan struct{}) *Timer

func (*Timer) After

func (t *Timer) After(duration time.Duration) *Timer

func (*Timer) Stop

func (t *Timer) Stop() bool

func (*Timer) Trigger

func (t *Timer) Trigger() *Timer

Jump to

Keyboard shortcuts

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