//
pkg.gl
Category
github.com/scroll-tech/go-ethereum
common
mclock
package
5.6.3-darwinv2-rc0+incompatible
Repository:
https://github.com/scroll-tech/go-ethereum.git
Documentation:
pkg.go.dev
Overview
Versions
3
Dependencies
4
Dependents
57
Files
225 SLOC
#
Functions
Now
Now returns the current absolute monotonic time.
#
Structs
Simulated
Simulated implements a virtual Clock for reproducible time-sensitive tests.
System
System implements Clock using the system clock.
#
Interfaces
ChanTimer
ChanTimer is a cancellable event created by NewTimer.
Clock
The Clock interface makes it possible to replace the monotonic system clock with a simulated clock.
Timer
Timer is a cancellable event created by AfterFunc.
#
Type aliases
AbsTime
AbsTime represents absolute monotonic time.