package
Version:
v3.3.46
Opens a new window with list of versions in this module.
Published: Sep 20, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
RealTime calls bulit in time package functions that follow the real flow of time
NewTimer calls time.NewTimer and gives it a stubable interface
TimeKeeper is how we stub the progress of time in applications
type Timer interface {
Chan() <-chan time.Time
Stop() bool
}
Timer is an object that returns periodic timing events. We use the builtin time.NewTimer()
generally but can also stub this out in constructors
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.