//
pkg.gl
Category
github.com/pingcap/tiflow
engine
pkg
clock
package
8.2.0+incompatible
Repository:
https://github.com/pingcap/tiflow.git
Documentation:
pkg.go.dev
Overview
Versions
3
Dependencies
3
Dependents
43
Files
42 SLOC
#
Functions
MonoNow
MonoNow returns the MonotonicTime of current.
New
New creates a new withRealMono instance, which implements Clock interface.
NewMock
NewMock creates a new Mock instance.
ToMono
ToMono converts time.Time to MonotonicTime.
#
Structs
Mock
Mock is a mock struct that implements Clock interface.
#
Interfaces
Clock
Clock defines an interface that combines github.com/benbjohnson/clock.Clock and a Mono methods that can return a monotonic time duration.
#
Type aliases
MonotonicTime
No description provided by the author