clock

package
v0.0.0-...-5b74cc3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2019 License: GPL-2.0 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 {
	IsResetStubCalled  bool
	ResetStubCallCount int
	ResetStubArg       time.Duration
	ResetStrobe        chan bool
	C                  <-chan time.Time
	Expire             func()
}

func NewTimer

func NewTimer() *Timer

func (*Timer) Reset

func (t *Timer) Reset(d time.Duration) bool

Jump to

Keyboard shortcuts

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