package
0.0.0-20210503203356-545402a62131
Repository: https://github.com/bitray-project/go-bitray.git
Documentation: pkg.go.dev

# README

wrapper for a monotonic clock source

# Functions

Now returns the current absolute monotonic time.

# Structs

Simulated implements a virtual Clock for reproducible time-sensitive tests.
System implements Clock using the system clock.

# Interfaces

ChanTimer is a cancellable event created by NewTimer.
The Clock interface makes it possible to replace the monotonic system clock with a simulated clock.
Timer is a cancellable event created by AfterFunc.

# Type aliases

AbsTime represents absolute monotonic time.