//
pkg.gl
Category
github.com/uber/kraken
utils
timeutil
package
0.1.4
Repository:
https://github.com/uber/kraken.git
Documentation:
pkg.go.dev
Versions
1
Dependencies
2
Dependents
2
Files
79 SLOC
#
Functions
MaxDuration
MaxDuration returns the largest duration between a and b.
MostRecent
MostRecent returns the most recent Time of ts.
NewTimer
NewTimer creates a new Timer which is set to the given duration.
#
Structs
Timer
Timer is a thread-safe adaptation of time.Timer intended for timeouts which may be periodically invalidated.