Documentation
¶
Overview ¶
Package clock provides a swap-able clock for tests. The conformance suite uses a fake clock for disconnect/reconnect/timeout scenarios so PR-gating tests don't depend on wall-clock waits.
Package clock is part of the GoFastr harness.
See docs/harness-architecture.md for the architecture this package implements.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clock ¶
Clock is the interface anything that needs time-of-day or Sleep uses. System returns the wall-clock implementation; Fake returns a manually-advanced one for tests.
Click to show internal directories.
Click to hide internal directories.